public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* How does attaching to a process work?
@ 2001-04-12  8:08 Laurent Duperval
  2001-04-12 10:39 ` Mo DeJong
  0 siblings, 1 reply; 5+ messages in thread
From: Laurent Duperval @ 2001-04-12  8:08 UTC (permalink / raw)
  To: Insight Mailing List

Hi,

I've got a Tcl application running that I want to debug. The application is
tkrat, which adds an extension and loads it at run time. I want to attach to
a running tkrat process. So I go to the attach window and I select the
process. It also looks like I have to specify the wish interpreter that was
used to start the process. Now, the wish interpreter wasn't compiled with
debugging on but the tkrat extension was. I'm pretty sure the problem I'm
encountering is in the tkrat extension so I don't want to recompile wish.

Anyway, when I attach to the running wish process, gdb interrupts. THen I
click on the run button and a new wish process is started. Although the
original tkrat process was halted when I attached, it is no longer affected
once the run button on insight has been pressed. Any idea why this is
happening? Am i not doing it right?

Thanks,

L

-- 
Laurent Duperval < mailto:lduperval@microcelli5.com >


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

end of thread, other threads:[~2001-04-12 12:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-12  8:08 How does attaching to a process work? Laurent Duperval
2001-04-12 10:39 ` Mo DeJong
2001-04-12 11:32   ` Laurent Duperval
2001-04-12 11:57     ` Fernando Nasser
2001-04-12 12:00       ` Laurent Duperval

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).