Home > Archive > Tcl > August 2007 > Debugging hang
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
|
Hi, I have a script running on a mac and a windows machine. All is
fine on the mac, but on the windows machine, it sometimes hangs. Since
it is only sometimes, debugging by adding puts "1" and seeing how far
it gets is going very slow. Can anybody suggest a quicker way to debug
this?
The script is run from a cron service every minute to look for work to
do, so I'm not starting it manually. The script is tcl, so I don't see
a way to attach tkcon to it?
(I'm not yet sure if my script is causing the hang or if it is
something in ActiveState tcl 8.4.15.)
Arnt
| |
| suchenwi 2007-08-30, 8:36 pm |
| I'd separate the debugging of the script from the crontab loop. First
make sure the script does what it should, in many experiments, then
crontab it :^)
|
|
|
|
|