vanden...@googlemail.com
unread,Jul 12, 2015, 9:05:06 AM7/12/15You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
I want to use `expect' as an interactive debugger for a very modest tcl script. I use
Expect 5.45.3
tcl 8.6.3
under macosx 10.10.3
running the script either via `/usr/bin/env expect -D 1' or by adding somewhere a `debug 1' to the script and loading the Expect package from within `tclsh' and sourcing the script from within tclsh initially does the expected (...), i.e. I get the `dbg' prompt of `Expect'. simple things (looking at variables, single-stepping, etc. work). but as soon as I issue `c' there is a short, notable delay (somewhat larger than usual runtime of the script I'd say) followed by a memory fault.
the script does nothing fancy. it uses
namespace path {::tcl::mathop}
package require cmdline
otherwise it's "vanilla tcl" (making some use of `clock')
I'm posting this in the hope that someone from core is reading it. if i can provide any further information I would be glad to do so.
best,
joerg