public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Laurent Duperval <lduperval@microcelli5.com>
To: Insight Mailing List <insight@sourceware.cygnus.com>
Subject: How does attaching to a process work?
Date: Thu, 12 Apr 2001 08:08:00 -0000	[thread overview]
Message-ID: <20010412160333.261F5468D0@lenard.microcelli5.com> (raw)

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 >


             reply	other threads:[~2001-04-12  8:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-12  8:08 Laurent Duperval [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010412160333.261F5468D0@lenard.microcelli5.com \
    --to=lduperval@microcelli5.com \
    --cc=insight@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).