Re: [TDK] [Komodo-discuss] Tcl remote debugger and spawnpoints
by Jeff Hobbs other posts by this author
Nov 2 2008 3:57PM messages near this date
view in the new Beta List Site
[TDK] Tcl remote debugger and spawnpoints
|
Re: [TDK] [Komodo-discuss] Tcl remote debugger and spawnpoints
Alex Panchenko wrote:
> I am not sure what mailing list should be used for my question, so I
> will post to all related ones.
>
> I am interested in the DBGP support of the spawnpoints. Does tcl remote
> debugger support spawnpoints?
>
> At the moment Komodo IDE does not allow me even to setup spawnpoints
> when remote debugger is attached.
> I can debug the same code with spawnpoint using Tcl Dev Kit Debugger,
> but it looks like it uses proprietary protocol to communicate with the
> launched process.
Yes, the TDK Debugger uses a different Tcl-oriented protocol as it
preceded dbgp and was designed just for Tcl. The debugger backends
between TDK and Komodo use the same debugging core for Tcl though.
There handling of spawnpoints will vary as the protocol allows, but as
it is the debugging core with the support, it should be "the same".
> Back to the DBGP: I can send spawnpoint_set command (and verify the
> result with spawnpoint_list), but when the process reaches the specified
> line nothing happens. Should I use some undocumented commands to make it
> work, is it a bug or a missing feature?
>
> My configuration is
> - Windows XP
> - Tcl 8.4
> - latest tcl remote debugger
In my testing, one obvious variation that I noted was that TDK will
report invalid spawnpoint lines (lines not recognized by the debugger as
allowable spawn points). In TDK, a dialog will show to indicate this,
but I received no such feedback from Komodo.
Currently only [exec], [spawn] and [thread::create] are recognized spawn
point generators. This is a hardcoded core list (unless you extend with
.pdx files), and I noticed one quirk about this ... exp_spawn was not
recognized, whereas spawn was. This is something we need to correct.
In any case, that may be what you hit. You are using the correct dbgp
commands though. Can you describe in more detail the tests you are
using? Have you tried running dbgp_tcldebug with -log (activate
logging) and -logfile myfile.txt (redirect log from stdout to file)?
That should provide more detailed information.
Regards,
Jeff
_______________________________________________
TDK mailing list
TDK@[...].com
http://listserv.ActiveState.com/mailman/listinfo/tdk
Thread:
Alex Panchenko
Jeff Hobbs
Alex Panchenko
Hemang Lavana
Andreas Kupries
Andreas Kupries
Hemang Lavana
|