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,ddc669e8cf09b24 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-10 15:40:28 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!proxad.net!usenet-fr.net!enst.fr!not-for-mail From: mauricio@solucioninformatica.com Newsgroups: comp.lang.ada Subject: Re: How to debug an Ada program Date: Thu, 10 Jul 2003 17:49:37 -0500 Organization: ENST, France Message-ID: References: NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: avanie.enst.fr 1057876709 76641 137.194.161.2 (10 Jul 2003 22:38:29 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Thu, 10 Jul 2003 22:38:29 +0000 (UTC) Cc: comp.lang.ada@ada.eu.org To: Preben Randhol Return-Path: Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.3i X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: comp.lang.ada mail to news gateway List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:40179 Date: 2003-07-10T17:49:37-05:00 On Thu, Jul 10, 2003 at 07:25:26AM +0000, Preben Randhol wrote: > 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. exactly! As I said before I'm new to ada, so I type a program I found in a web page, and download the source code either, but the result is not the same, I already found some mistakes in my code without see the other source code, but I think a debuggger to trace the code would be great for learn how Ada do some stuff. Thanks. > > -- > Ada95 is good for you. > http://www.crystalcode.com/codemage/MainMenu/Coding/Ada/IntroducingAda.php > _______________________________________________ > comp.lang.ada mailing list > comp.lang.ada@ada.eu.org > http://ada.eu.org/mailman/listinfo/comp.lang.ada