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,208279d79d40e7d8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-08-28 01:28:06 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!fu-berlin.de!uni-berlin.de!tar-alcarin.cbb-automation.DE!not-for-mail From: Dmitry A. Kazakov Newsgroups: comp.lang.ada Subject: Re: Ada Advocacy. Date: Thu, 28 Aug 2003 10:34:45 +0200 Message-ID: References: NNTP-Posting-Host: tar-alcarin.cbb-automation.de (212.79.194.111) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de 1062059285 10651345 212.79.194.111 (16 [77047]) X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.lang.ada:41912 Date: 2003-08-28T10:34:45+02:00 List-Id: On Wed, 27 Aug 2003 15:12:08 -0500, Wes Groleau wrote: >>>The good Ada feature for the debug purpose is an image of enumeration values. >>>But I do not think that we need image of the object names. > >However, I could imagine the usefulness of something like > > pragma Debug_Output ( Debugging => true, Entity_Name ); > >where, if Debugging is false, does nothing, otherwise >prints something like > > Entity_Name => (something like Entity_Name'Img) > at line 345 of filename.adb (line 37 of Package.SubProg) ... instantiated at ..., ... with the parameters ..., ... the call stack is ..., ... during winding up the exception ..., ... raised in ... , ... the current task is ..., ... invoked at ... (:-)) Almost forgot, I want to redirect debug info into a list box of a window. ------------------- I think that nothing can supersede a mature debugger (/=gdb), plus carefully developed tracing tool integrated into the program. --- Regards, Dmitry Kazakov www.dmitry-kazakov.de