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,23dabf88feae3dba X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!bcklog1.nntp.dca.giganews.com!nntp.megapath.net!news.megapath.net.POSTED!not-for-mail NNTP-Posting-Date: Thu, 22 Jun 2006 18:09:06 -0500 From: "Randy Brukardt" Newsgroups: comp.lang.ada References: <4fssh9F1ena5jU1@individual.net> <8KOdnYaLZJaLMATZnZ2dnUVZ_tydnZ2d@megapath.net> Subject: Re: Elaboration worries Date: Thu, 22 Jun 2006 18:09:50 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 Message-ID: NNTP-Posting-Host: 64.32.209.38 X-Trace: sv3-FMCOVKe8jNv7NpXPqMpw9jHxEHnTSr3oxhY8g6ShbZG1eUc/kYA++WEBIyFif9OtdzvfJBanlFGu3QV!hnwdGRYSs6ABNDjkyMr88M48f9XV2ZiEomeIfU+AU1JK4I/nFYvByp8MlOxVi/6Merm0V1+VKQtj!nMdXtGKoaw735A== X-Complaints-To: abuse@megapath.net X-DMCA-Complaints-To: abuse@megapath.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news2.google.com comp.lang.ada:4912 Date: 2006-06-22T18:09:50-05:00 List-Id: "Robert A Duff" wrote in message news:wcck67aumqe.fsf@shell01.TheWorld.com... > "Randy Brukardt" writes: ... > > (a) make your package Preelaborate if possible (Pure is so limited that > > no real packages ever qualify) -- but this is usually impossible because I/O > > and Calendar aren't Preelaborate. Which means that you can't trace or log a > > Preelaborate package (well, there *is* one way to do it, but it adds runtime > > overhead); > > I have put debug output code in Pure and Preelab packages by "cheating". True, you can leave the language if you like, or lie to the compiler (I guess you'd say what you are doing is the latter; I would call it the former), but I was thinking of ways that don't require such underhandedness and can be used in production code. Randy.