Solved

tcl /expect script debugging

Posted on 2008-10-31
5
897 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
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
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 if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

785 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