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-Thread: 103376,93a8020cc980d113 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news3.google.com!proxad.net!exabot.com!freenix!oleane.net!oleane!hunter.axlog.fr!nobody From: Jean-Pierre Rosen Newsgroups: comp.lang.ada Subject: Re: What is wrong with Ada? Date: Tue, 17 Apr 2007 11:05:49 +0200 Organization: Adalog Message-ID: References: <1176150704.130880.248080@l77g2000hsb.googlegroups.com> <461B52A6.20102@obry.net> <461BA892.3090002@obry.net> <82dgve.spf.ln@hunter.axlog.fr> <1176226291.589741.257600@q75g2000hsh.googlegroups.com> <4eaive.6p9.ln@hunter.axlog.fr> <1176578930.062156.49570@b75g2000hsg.googlegroups.com> NNTP-Posting-Host: mailhost.axlog.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: s1.news.oleane.net 1176804064 23338 195.25.228.57 (17 Apr 2007 10:01:04 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Tue, 17 Apr 2007 10:01:04 +0000 (UTC) User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) In-Reply-To: Xref: g2news1.google.com comp.lang.ada:15079 Date: 2007-04-17T11:05:49+02:00 List-Id: Robert A Duff a �crit : > In more primitive debuggers, you could still do various things without > using trace statements in the code. E.g. you could set a breakpoint > on the assertion, and another on the failure of the assertion. > Disable the former. Run. Tell the debugger to print out the > count for the former. Start over, with former enabled, > telling it to stop after N-1 times. Now single-step > toward the bug. > And how long does it take? Adding a trace - recompiling - getting the answer is less than one minute (and I don't have an especially fast machine!). That's my whole point. I never said that debuggers were useless, and I certainly happen to use one every now and then. But most of the time, I find adding a trace faster, for the kind of program I'm writing. Of course, a great help here is that if you modify a body in Ada, you just need to recompile that body... -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr