Solved

tcl /expect script debugging

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…

707 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now