ActiveState Community

Tcl embedded debugging in Komodo

Posted by johnbuckman on 2009-06-14 08:57
OS: OS X

Is it possible to debug Tcl code in an embedded application in Komodo?

I'm using AOLServer, which has an embedded Tcl interpreter, and thus I can't run the "dbgp_tcldebug" application that your docs want me to:
http://docs.activestate.com/komodo/5.1/debugtcl.html#debugtcl_top

However, the tcldebugger in tdk5 uses a tcl source code method of debugging, though this clashes with aolserver and only partially works, and this method:

package require tcldebugger_attach
set host localhost
set port 9000
debugger_init $host $port

won't connect successfully to Komodo.

-john

jeffh | Thu, 2009-06-25 09:35

This is a feature that is best supported by TDK as you noticed. You can find more info on how to do that here:

http://wiki.tcl.tk/4335

johnbuckman | Thu, 2009-06-25 14:53

That was helpful, thank you!

-j