comp.lang.ada
 help / color / mirror / Atom feed
From: "AndyA" <aasfendis@mac.com>
Subject: Re: GNAT Debugger
Date: 9 Jan 2006 07:45:27 -0800
Date: 2006-01-09T07:45:27-08:00	[thread overview]
Message-ID: <1136821526.945692.106370@g47g2000cwa.googlegroups.com> (raw)
In-Reply-To: <1136813737.549027.323090@z14g2000cwz.googlegroups.com>

Upon further expermentation, I wonder if you might know a way to
accomplish the following procedure:

1. Run the program
2. Determine the process id and attach to the process in the debugger.
4. Set a break point and observe the breakpoint is reached
5. Remove breakpoint and set program running again.
6. Stop the task AGAIN and set a new breakpoint

I tried "detach", however, if I detach from the process while in a
breakpoint, the process is forever stopped and cannot be attached to
once again. Likewise, if I set the program running in the debugger with
no breakpoints, then there seems to be no way to command gdb to detach
command. Is there anyway to enter gdb commands while the program is
running??




  reply	other threads:[~2006-01-09 15:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-05 15:47 GNAT Debugger AndyA
2006-01-05 19:05 ` Wiljan Derks
2006-01-09 13:35   ` AndyA
2006-01-09 15:45     ` AndyA [this message]
2006-01-09 18:48       ` Wiljan Derks
2006-01-14  1:12       ` Craig Carey <research@ijs.co.nz>
  -- strict thread matches above, loose matches on Subject: below --
1996-10-17  0:00 GNAT debugger G PRESTON
1996-10-17  0:00 ` Gautier
1996-10-17  0:00 ` Robert Dewar
1996-10-18  0:00   ` Jon S Anthony
1996-10-21  0:00   ` Michael Feldman
1996-10-17  0:00 ` Hal Manuel
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox