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,CP1252 X-Google-Thread: 103376,ddc669e8cf09b24 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-09 22:05:52 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn14feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi_feed4!attbi.com!rwcrnsc53.POSTED!not-for-mail Message-ID: <3F0CF410.9000104@attbi.com> From: "Robert I. Eachus" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: How to debug an Ada program References: <3F0C88E4.2090408@attbi.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 24.62.164.137 X-Complaints-To: abuse@comcast.net X-Trace: rwcrnsc53 1057813551 24.62.164.137 (Thu, 10 Jul 2003 05:05:51 GMT) NNTP-Posting-Date: Thu, 10 Jul 2003 05:05:51 GMT Organization: Comcast Online Date: Thu, 10 Jul 2003 05:05:51 GMT Xref: archiver1.google.com comp.lang.ada:40160 Date: 2003-07-10T05:05:51+00:00 List-Id: Cephus� wrote: > What I was saying is that the debugger is for the programmer to use at > his/her discretion. Anyone can have a logic error somewhere and instead of > desk checking themselves, just use the debugger. You can have logical errors > in Ada, C, Java, APL, Pascal, etc.... and you can use the debugger to sort > through it... > > It does help a lot in compilation errors, but I usually only use it when I > am having a logical error...not everyone is perfect and thier thought > process isn't perfect everytime :) As I said, welcome to Ada. You will be pleasantly surprised at how soon you forget how to use the debugger. By the way, if you are not sure of something, in GNAT it is very easy to use pragma Debug and pragma Assert, along with -gnata to turn the extra checks and messages on. -- Robert I. Eachus �In an ally, considerations of house, clan, planet, race are insignificant beside two prime questions, which are: 1. Can he shoot? 2. Will he aim at your enemy?� -- from the Laiden novels by Sharon Lee and Steve Miller.