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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no 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!postnews.google.com!q75g2000hsh.googlegroups.com!not-for-mail From: "Chad R. Meiners" Newsgroups: comp.lang.ada Subject: Re: What is wrong with Ada? Date: 10 Apr 2007 10:31:31 -0700 Organization: http://groups.google.com Message-ID: <1176226291.589741.257600@q75g2000hsh.googlegroups.com> References: <1176150704.130880.248080@l77g2000hsb.googlegroups.com> <461B52A6.20102@obry.net> <461BA892.3090002@obry.net> <82dgve.spf.ln@hunter.axlog.fr> NNTP-Posting-Host: 35.9.23.42 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1176226291 24650 127.0.0.1 (10 Apr 2007 17:31:31 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 10 Apr 2007 17:31:31 +0000 (UTC) In-Reply-To: <82dgve.spf.ln@hunter.axlog.fr> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060830 Firefox/1.5.0.7 (Debian-1.5.dfsg+1.5.0.7-2~bpo.1),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: q75g2000hsh.googlegroups.com; posting-host=35.9.23.42; posting-account=paoWPg0AAABe-C1bfTlsEbfoc5yNqKFn Xref: g2news1.google.com comp.lang.ada:14878 Date: 2007-04-10T10:31:31-07:00 List-Id: On Apr 10, 12:12 pm, Jean-Pierre Rosen wrote: > Markus E Leypold a =E9crit :> Pascal Obry writes: > > >> Markus, > > >>>> Why do they like unreadable code? > >>>> Why do they like to play with a debugger ? > >>> Good question. That "real Ada software engineers" (like "real men") > >>> never need a debugger might be the reason why gdb is so badly > >>> integrated with Gnat. That's a thought. > >> gdb is used with Ada just not so often. > > > Right. But when it is used, it is sorely needed, since this then is > > one of the conceptual bugs I mentioned. > > Sorry, but I beg to disagree here. Conceptual bugs are found by > reasonning on the source, not with a debugger. Every now and then you > may need to check the value of a variable at some point in execution to > validate or invalidate an hypothesis, but even there, I find a proper > trace message much faster and more precise than using a debugger. > -- > --------------------------------------------------------- > J-P. Rosen (r...@adalog.fr) > Visit Adalog's web site athttp://www.adalog.fr I disagree. Sometimes trace messages add line noise and maintaince requirements to the code base, and it is much easier to trace through the algorithm step by step (using conditional breaks when necessary). It is particularly handy to use a debugger when interfacing to other people's component libraries. That being said, trace messages are usually very efficient too. cavat: I have found debuggers more useful in languages like C++ than Ada, but then again Visual Studios has an excellent debugger.