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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.42.75.196 with SMTP id b4mr48684947ick.7.1419956640245; Tue, 30 Dec 2014 08:24:00 -0800 (PST) X-Received: by 10.140.87.68 with SMTP id q62mr26867qgd.8.1419956640072; Tue, 30 Dec 2014 08:24:00 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!feeder.erje.net!eu.feeder.erje.net!newspeer1.nac.net!border2.nntp.dca1.giganews.com!nntp.giganews.com!h15no19264370igd.0!news-out.google.com!n9ni77qai.0!nntp.google.com!bm13no2113188qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 30 Dec 2014 08:24:00 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=206.53.78.59; posting-account=ShYTIAoAAABytvcS76ZrG9GdaV-nXYKy NNTP-Posting-Host: 206.53.78.59 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <82329c51-2302-468b-a5d0-3bfab3999014@googlegroups.com> Subject: Re: Any Suggestion How To Accomplish A Debug Macro? From: sbelmont700@gmail.com Injection-Date: Tue, 30 Dec 2014 16:24:00 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:24293 Date: 2014-12-30T08:24:00-08:00 List-Id: On Monday, December 29, 2014 10:11:52 PM UTC-5, Hubert wrote: > > Is there any way to achieve something like this in Ada without > surrounding it with an IF statement and a boolean flag? > TWYF, FWYT. Having the compiler cull a bunch of your code, especially such I/O heavy code, and expecting it to work the same in the release is a bad idea (though there are better solutions than an if statement, e.g. observer pattern). -sb