public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* tcl code debug
@ 2006-04-30 21:08 Lisa McIlrath
  2006-05-17 18:03 ` Keith Seitz
  0 siblings, 1 reply; 2+ messages in thread
From: Lisa McIlrath @ 2006-04-30 21:08 UTC (permalink / raw)
  To: insight

Hi,

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.

Thanks,
Lisa McIlrath
  

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: tcl code debug
  2006-04-30 21:08 tcl code debug Lisa McIlrath
@ 2006-05-17 18:03 ` Keith Seitz
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Seitz @ 2006-05-17 18:03 UTC (permalink / raw)
  To: Lisa McIlrath; +Cc: insight

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-05-17 18:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-30 21:08 tcl code debug Lisa McIlrath
2006-05-17 18:03 ` Keith Seitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).