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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,71aa44b9692e8206 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-05-16 06:47:08 PST Path: archiver1.sj.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeed.gamma.ru!Gamma.RU!news.algonet.se!newsfeed1.telenordia.se!algonet!uab.ericsson.se!erix.ericsson.se!newstoo.ericsson.se!not-for-mail From: "Atle R�stad" Newsgroups: comp.lang.ada Subject: Re: Package name Date: Wed, 16 May 2001 15:46:28 +0200 Organization: Ericsson Radar AS Message-ID: <990020794.342163@edh3> References: <990017804.158478@edh3> NNTP-Posting-Host: edh3.edh.ericsson.se X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Cache-Post-Path: edh3!unknown@pch25 X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) Xref: archiver1.sj.google.com comp.lang.ada:7560 Date: 2001-05-16T15:46:28+02:00 List-Id: Preben Randhol wrote in message news:slrn9g509m.f4.randhol+abuse@kiuk0156.chembio.ntnu.no... > On Wed, 16 May 2001 14:56:38 +0200, Atle R�stad wrote: > > Is it possible to print out the package name? > > > > It would be a nice feature in tracing. Maybe even print the > > procedure/function name. > > What do you mean? > Example: Text_Io.Put_Line(Get_Package_Name&"::"&Get_Procedure_Name&": Some trace comment"); Where output would be something like: Perfect_World::Meaning_Of_Life: Some trace comment where the package name the Text_Io statement was written in is Perfect_World and the name of the procedure was Meaning_Of_Life. This would be helpful in debugging a big system. The procedure name may be overkill, but at least the package name would be nice. /Atle > -- > Preben Randhol ------------------- http://www.pvv.org/~randhol/ -- > �For me, Ada95 puts back the joy in programming.�