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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f3736ba5772f394c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-29 00:18:20 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!newsfeed.news2me.com!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!uunet!dfw.uu.net!sac.uu.net!lore.csc.com!baen1673807.greenlnk.net!baen1673807!not-for-mail From: "Alex Proudfoot" Newsgroups: comp.lang.ada Subject: Re: Catching exceptions in debugger (Unix) Date: Wed, 29 Jan 2003 08:20:09 -0000 Organization: Computer Sciences Corporation Message-ID: <3e378e03@baen1673807.greenlnk.net> References: <3e3649d3$0$345$bed64819@news.gradwell.net> NNTP-Posting-Host: 20.44.240.33 X-Trace: lore.csc.com 1043828297 4904 20.44.240.33 (29 Jan 2003 08:18:17 GMT) X-Complaints-To: abuse@news.csc.com NNTP-Posting-Date: Wed, 29 Jan 2003 08:18:17 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 X-Original-NNTP-Posting-Host: farwkn7059.frlngtn.gecm.com X-Original-Trace: 29 Jan 2003 08:17:07 GMT, farwkn7059.frlngtn.gecm.com Xref: archiver1.google.com comp.lang.ada:33538 Date: 2003-01-29T08:20:09+00:00 List-Id: Try "break exception". Victor Porton wrote in message news:3e3649d3$0$345$bed64819@news.gradwell.net... > Linux/i386 Gnat 3.14p and Gnat-3.2 . > > I want to see the point in the debugged program where an exception is > thrown (and also see the backtrace). > > I tried "catch throw" command of GDB (which does this with C++ > exceptions), but this does not work for Ada: > > (gdb) catch throw > warning: Unsupported with this platform/compiler combination. > warning: Perhaps you can achieve the effect you want by setting > warning: a breakpoint on __raise_exception(). > > Help?