How can I debug expect_before behaviour

Posted by itj on Stack Overflow See other posts from Stack Overflow or by itj
Published on 2010-04-27T15:01:34Z Indexed on 2010/04/27 15:03 UTC
Read the original article Hit count: 238

Filed under:
|

I am relatively new to TCL / expect and mostly modifying existing code.

expect_before doesn't seem to do what I expect (which is fine) but I can't work out how to debug it.

I have used -d option and am now using

exp_internal -f "argh.log" 1 to create a log file, but it isn't helping me.

expect_before -info seems useful, but I am not able to grab / display the output (I did say I was new to TCL)

© Stack Overflow or respective owner

Related posts about expect

Related posts about tcl