comp.lang.ada
 help / color / mirror / Atom feed
From: "Atle R�stad" <aer@edh.ericsson.se>
Subject: Re: Package name
Date: Wed, 16 May 2001 15:46:28 +0200
Date: 2001-05-16T15:46:28+02:00	[thread overview]
Message-ID: <990020794.342163@edh3> (raw)
In-Reply-To: slrn9g509m.f4.randhol+abuse@kiuk0156.chembio.ntnu.no

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 951 bytes --]


Preben Randhol <randhol+abuse@pvv.org> 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.�





  reply	other threads:[~2001-05-16 13:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-16 12:56 Package name Atle R�stad
2001-05-16 13:28 ` Preben Randhol
2001-05-16 13:46   ` Atle R�stad [this message]
2001-05-16 14:00   ` Marin David Condic
2001-05-16 16:45     ` Claude SIMON
2001-05-17 13:59       ` Marin David Condic
2001-05-17 15:06         ` Samuel T. Harris
2001-05-16 18:24     ` Randy Brukardt
2001-05-16 16:10 ` Jeffrey Carter
2001-05-16 17:08 ` David C. Hoos, Sr.
  -- strict thread matches above, loose matches on Subject: below --
2001-05-16 16:17 Beard, Frank
2001-05-16 18:11 ` tmoran
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox