?
Solved

tcl /expect script debugging

Posted on 2008-10-31
5
Medium Priority
?
950 Views
Last Modified: 2013-12-21
I have a expect script to do some system maintanece work.  Now I need to
make some modifications on it.  
  I am new to tcl coding, can anyone provide me tips on debugging tools availabe
  to debug expect/tcl script.

Thanks,
joy
0
Comment
Question by:cjjoy1980
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 24

Expert Comment

by:fridom
ID: 22873549
Keeping a log is always a good idea. And of course you can use any sort of debugger for tcl to  step through it.
Have you tried?

Regards
Friedrich
0
 
LVL 2

Expert Comment

by:leh327
ID: 23319051
I turn on debug to see what process expect spawn with the following:
log_user 9
0
 

Accepted Solution

by:
ee_auto earned 0 total points
ID: 25238961
Question PAQ'd, 500 points refunded, and stored in the solution database.
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question