How can I debug expect_before behaviour
- by itj
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)