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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,392a654c4e778943 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!atl-c08.usenetserver.com!news.usenetserver.com!pc02.usenetserver.com!ALLTEL.NET-a2kHrUvQQWlmc!not-for-mail Date: Fri, 18 Nov 2005 08:11:53 -0600 From: "Marc A. Criley" User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Debugger for GNAT References: <1132317809.937986.140480@g49g2000cwa.googlegroups.com> In-Reply-To: <1132317809.937986.140480@g49g2000cwa.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: X-Complaints-To: abuse@usenetserver.com Organization: UseNetServer.com X-Trace: e9905437de12da13cf16e20824 Xref: g2news1.google.com comp.lang.ada:6467 Date: 2005-11-18T08:11:53-06:00 List-Id: markp wrote: > We are currently using the GPS debugger for our GNAT Ada applications. > We feel it is not a very robust debugger, although that could be our > limited experience with it. For example, we would to be able to break > on any exceptions and view the offending line in the debugger and trace > to the source. Also, we would like to be able to set breakpoints in > tasks while the program is running without stopping everything, i.e. > stopping a single task. > > Are there any other debuggers out the to debug our GNAT Ada? GPS is built around gdb, and while I still use the old gvd interface for 3.15p, I know you can certainly set a breakpoint on any or all user-defined and predefined exceptions and trace them back to the source. At the very least set a breakpoint on all exceptions (the gdb command is "b except" and when it breaks, go up the call stack to get back to the offending line of your code. I'm hard pressed to see how one could break on a task and provide an interactive interface to the user, while allowing the rest of the program to continue running. I'm not saying it can't be done, but it sure looks tricky. I think it would behoove y'all to increase your limited experience with the debugger :-) Ask how to do things here, or over on the GPS mailing list, and you should find advice and suggestions readily available. -- Marc A. Criley -- McKae Technologies -- www.mckae.com -- DTraq - XPath In Ada - XML EZ Out