From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7bd68c129ac31eea X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!g47g2000cwa.googlegroups.com!not-for-mail From: "AndyA" Newsgroups: comp.lang.ada Subject: Re: GNAT Debugger Date: 9 Jan 2006 07:45:27 -0800 Organization: http://groups.google.com Message-ID: <1136821526.945692.106370@g47g2000cwa.googlegroups.com> References: <1136476040.024617.53280@f14g2000cwb.googlegroups.com> <483c8$43bd6de1$3ea6010b$22967@news.versatel.net> <1136813737.549027.323090@z14g2000cwz.googlegroups.com> NNTP-Posting-Host: 155.104.239.18 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1136821532 5277 127.0.0.1 (9 Jan 2006 15:45:32 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 9 Jan 2006 15:45:32 +0000 (UTC) In-Reply-To: <1136813737.549027.323090@z14g2000cwz.googlegroups.com> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; H010818; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: g47g2000cwa.googlegroups.com; posting-host=155.104.239.18; posting-account=xyLGDwwAAAA8EWof4AkVQDk-fLBmL9fY Xref: g2news1.google.com comp.lang.ada:2474 Date: 2006-01-09T07:45:27-08:00 List-Id: 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??