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,ddc669e8cf09b24 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-10 00:25:29 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!news.tele.dk!news.tele.dk!small.news.tele.dk!uninett.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: How to debug an Ada program Date: Thu, 10 Jul 2003 07:25:26 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: NNTP-Posting-Host: kiuk0152.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1057821926 20602 129.241.83.78 (10 Jul 2003 07:25:26 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Thu, 10 Jul 2003 07:25:26 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:40161 Date: 2003-07-10T07:25:26+00:00 List-Id: Pascal Obry wrote: > > mauricio@solucioninformatica.com writes: > >> Hi all, I used to program with C, but now I'm switching to Ada95 in >> linux debian with gnat. How do I trace a program line by line? Thanks in >> advance > > Preben has pointed you to gdb and gvd, these are indeed nice but with Ada95 > you will probably very rarely have a need for a debugger, lot less than in C > for sure. Yes I agree with this. I rarely use gdb or gvd myself with Ada. Best way to trace a program line by line is reading the source :-) Sometimes when trying to get an understanding somebody else's program it can go a bit faster if you use a debugger to clear up some things though. -- Ada95 is good for you. http://www.crystalcode.com/codemage/MainMenu/Coding/Ada/IntroducingAda.php