Link to home
Start Free TrialLog in
Avatar of cjjoy1980
cjjoy1980

asked on

tcl /expect script debugging

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
Avatar of F. Dominicus
F. Dominicus
Flag of Germany image

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
Avatar of leh327
leh327

I turn on debug to see what process expect spawn with the following:
log_user 9
ASKER CERTIFIED SOLUTION
Avatar of ee_auto
ee_auto

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial