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!news1.google.com!news.glorb.com!news.ecp.fr!oleane.net!oleane!hunter.axlog.fr!nobody From: Jean-Pierre Rosen Newsgroups: comp.lang.ada Subject: Re: What is wrong with Ada? Date: Wed, 11 Apr 2007 11:40:13 +0200 Organization: Adalog Message-ID: <4eaive.6p9.ln@hunter.axlog.fr> 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> 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 1176285664 6236 195.25.228.57 (11 Apr 2007 10:01:04 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Wed, 11 Apr 2007 10:01:04 +0000 (UTC) User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) In-Reply-To: <1176226291.589741.257600@q75g2000hsh.googlegroups.com> Xref: g2news1.google.com comp.lang.ada:14905 Date: 2007-04-11T11:40:13+02:00 List-Id: Chad R. Meiners a �crit : > I disagree. Sometimes trace messages add line noise and maintaince > requirements to the code base, Huh? Trace messages are put just to check an hypothesis, and removed immediately afterwards. Certainly not kept in configuration, and limited to a couple of lines! > and it is much easier to trace through > the algorithm step by step (using conditional breaks when necessary). My experience is that recompiling (generally a single body where you added the trace) is much faster than starting the debugger, setting breakpoints, skipping lots of unnecessary breaks, and so on. Moreover, a trace message gives you exactly the information you need, while interpreting a particular (complicated) structure from a debugger is generally quite difficult. Did you ever try to understand an ASIS "Element" ? Caveat: I always provide a special trace function in my programs for this purpose. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr