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,c35edbbda4c7f58f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!news-FFM2.ecrc.net!noris.net!newsfeed.arcor.de!news.arcor.de!not-for-mail Date: Wed, 17 Nov 2004 13:32:06 +0100 From: Georg Bauhaus User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Conditional compilation in Ada? References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <419b5ff6$0$25329$9b4e6d93@newsread2.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 17 Nov 2004 15:28:06 MET NNTP-Posting-Host: c6044aaa.newsread2.arcor-online.net X-Trace: DXC=`2m?kT]eJd\Tkno\?fPDcVQ5U85hF6f;TjW\KbG]kaMX6=9@_^Ri@g]k1V:n9G[MMWD:T5T2R Frank Piron wrote: > we wanted > to switch on and off debugging messages for each package > individually and for certain levels > We tried with gnatprep but found it not suitable for this > task. Perhaps another option is to have package DEBUG renames Silent_Debugging_Procedures; or package DEBUG renames Debugging_Procedures; inside package bodies? Then statements like DEBUG.put_line(...); might or might not print something. Is pragma Debug available? -- Georg Bauhaus