This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
Re: tcl code debug
- From: Keith Seitz <keiths at redhat dot com>
- To: Lisa McIlrath <lmcilrath at r3logic dot com>
- Cc: insight at sources dot redhat dot com
- Date: Wed, 17 May 2006 11:02:54 -0700
- Subject: Re: tcl code debug
- References: <5.2.0.9.2.20060430170219.0112ab10@pop.earthlink.net>
Lisa McIlrath wrote:
I like your insight debugger. Seeing as how it was written in Tcl, do
you have any ways to debug Tcl code linked to a C program? I'd like to
be able to dive into a Tcl_Eval from C.
Apologies for the massive delay responding to you.
No, right now, insight is a GUI for gdb, and it only debugs whatever GDB
works with. Okay, that's not entirely true. gdb support fortran,
modula-2, and a couple of other things. I don't actually know if insight
works with those.
I have tested and used it with C, C++, and natively-compiled Java. I may
add interpreted Java to insight at some time, though, but I don't know
when or if I'll do that yet. [I am right now adding interpreted
debugging support to gcj and GNU Classpath.]
I remember discussions a long, long time ago to add a facility to gdb to
support plug-in scripting languages. That would have been a start to
allowing gdb (and insight) to debug interpreted languages.
Alas, I don't think that feature is high on anyone's list right now. Gdb
has enough problems with C++ to keep those people busy for a long, long
time.
Keith