Solved

tcl /expect script debugging

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

Monthly Recap

May was a big month for new releases from Linux Academy! Take a look at what our team built recently in our blog. You can access the newest releases from our blog.

Question has a verified solution.

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

Over the years I've spent many an hour playing on hardened, DMZ'd servers, with only a sub-set of the usual GNU toy's to keep me company; frequently I've needed to save and send log or data extracts from these server back to my PC, or to others, and…
This article will show, step by step, how to integrate R code into a R Sweave document
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 …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

690 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