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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5845b26b188c214e,start X-Google-Attributes: gid103376,public Path: controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!nnx.oleane.net!oleane!freenix!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: Marius Amado Alves Newsgroups: comp.lang.ada Subject: How to debug? Date: Wed, 5 May 2004 18:30:03 +0100 Organization: Cuivre, Argent, Or Message-ID: Reply-To: amado.alves@netcabo.pt NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: melchior.cuivre.fr.eu.org 1083776813 46887 212.85.156.195 (5 May 2004 17:06:53 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Wed, 5 May 2004 17:06:53 +0000 (UTC) To: comp.lang.ada@ada-france.org Return-Path: User-Agent: KMail/1.4.3 X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: controlnews3.google.com comp.lang.ada:280 Date: 2004-05-05T18:30:03+01:00 How do I inspect the call stack (preferably symbolic information i.e. sou= rce=20 code unit name + line number + subprogram names), upon an unhandled excep= tion=20 occurrence? I'm on Windows XP, with GNAT 3.15p. I tried GVD and gdb to no avail (yes,= =20 compiled with the -g option). Would it work on Linux? Do I have to catch the exception, perhaps just to put a breakpoint in the= =20 handler? Sometime ago, I think with GNAT 3.13p or 3.14p, I also tried instrumentin= g my=20 code with GNAT's Symbolic_Traceback but it also didn't work. Would it wor= k=20 now with version 3.15p? Would GPS do the trick? Thanks a lot. /* So far I seem to have been able to produce working Ada programs withou= t a=20 debugger. I instrument. But now I'm tired. And it's rather irritating tha= t=20 Ada, GNAT, the 'p' versions, does not facilitate debugging like e.g. the=20 Borland products did. I miss that aspect of them. I whish there was a Tur= bo=20 Ada. */