Tuesday, September 15, 2009

Debugging Expect programs

So far, the best way to debug Expect programs seems to be to append " -d" the #! line. The output is confusingly verbose, but if I work through it one glob at a time, I can usually figure out what's going on.

Right now, it's that it's matching too early. So I think sleep 5 may be the needed breather.

No comments:

Post a Comment