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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5265ce03ee8f5252 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-01-06 12:30:04 PST Path: supernews.google.com!sn-xit-03!supernews.com!news-feed.riddles.org.uk!newsfeed.direct.ca!look.ca!newsfeed.cwix.com!sjc-peer.news.verio.net!news.verio.net!iad-read.news.verio.net.POSTED!kilgallen From: Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: Ok sorry, it is just a book gives no feedback. Message-ID: References: <931r2l$4ai5t$2@ID-25716.news.dfncis.de> <931t08$5u5$1@nnrp1.deja.com> <932632$e0e$1@nnrp1.deja.com> <932an8$ijs$1@nnrp1.deja.com> <93421h$2ju$1@nnrp1.deja.com> <934j5c$eu9$1@nnrp1.deja.com> <937jk6$s6l$1@nnrp1.deja.com> Organization: LJK Software Date: 6 Jan 2001 15:26:06 -0500 NNTP-Posting-Host: 216.44.122.34 X-Complaints-To: abuse@verio.net X-Trace: iad-read.news.verio.net 978812768 216.44.122.34 (Sat, 06 Jan 2001 20:26:08 GMT) NNTP-Posting-Date: Sat, 06 Jan 2001 20:26:08 GMT Xref: supernews.google.com comp.lang.ada:3714 Date: 2001-01-06T15:26:06-05:00 List-Id: In article <937jk6$s6l$1@nnrp1.deja.com>, Robert Dewar writes: > In article , > Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) wrote: >> Is it the case that implementations are forbidden to allow >> debugger breakpoints in code controlled by pragma Pure ? > > Of course not, but that is entirely irrelevant to the (very > important) point that Randy was making! > > For example, you cannot add a Put_Line in a pure function, > and that is often very annoying. I supposed it might be annoying to some people, but I detest that style of debugging. I much prefer to place a breakpoint (even a conditional breakpoint) that will examine the data in question rather than change the source. Sometimes setting up that breakpoint may take an elaborate command procedure in order to get it on precisely the 125th iteration that has a non-negative parameter, but to me it is better than altering the source. And now I have learned that it is more compatible with "Pure" :-)