comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <dont.bother.mcondic.auntie.spam@[acm.org>
Subject: Re: Newbie: Best Ada Compiler for MS Windows ?
Date: Wed, 10 Apr 2002 09:18:54 -0400
Date: 2002-04-10T13:18:56+00:00	[thread overview]
Message-ID: <a91e40$6gc$1@nh.pace.co.uk> (raw)
In-Reply-To: mailman.1018425423.3748.comp.lang.ada@ada.eu.org

"sk" <noname@myob.com> wrote in message
news:mailman.1018425423.3748.comp.lang.ada@ada.eu.org...
>
> "gnat.traceback.symbolic.symbolic_traceback(oops)"
>
> and
>
> "ada.text_io.put_line(ada.exceptions.exception_information(oops));"
>
> should be considered equivalent ?
>

FWIW, I'd much prefer the latter since it is standard-issue Ada that will a)
work on all compilers, b) is documented in the ARM and c) what most run of
the mill Ada programmers would first attempt when trying to handle
exceptions. Making sure that Ada.Exceptions.Exception_Information yields
something useful is, IMHO, an important thing for a compiler to do. While it
may be perfectly legal Ada to return an empty string, it would clearly be
much more useful to get a string filled with a symbolic traceback. (I'd
accept having to throw some compiler switches to get it since it might be an
efficiency issue for production code, but a solution should exist.)

MDC
--
Marin David Condic
Senior Software Engineer
Pace Micro Technology Americas    www.pacemicro.com
Enabling the digital revolution
e-Mail:    marin.condic@pacemicro.com





  reply	other threads:[~2002-04-10 13:18 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-04 12:10 Newbie: Best Ada Compiler for MS Windows ? D De Villiers
2002-04-04 17:23 ` Larry Kilgallen
2002-04-05  8:51   ` Tarjei T. Jensen
2002-04-05  9:54   ` Adam Tissa
2002-04-05 10:08     ` Adam Tissa
2002-04-06 11:03   ` D De Villiers
2002-04-05  8:02 ` John McCabe
2002-04-05  9:04   ` Jerry van Dijk
2002-04-05 16:48   ` Marin David Condic
2002-04-06 11:09   ` D De Villiers
2002-04-08  8:40     ` John McCabe
2002-04-08 14:44     ` Marin David Condic
2002-04-09  8:28       ` tmoran
2002-04-09 16:53         ` Pascal Obry
2002-04-10  4:08         ` Robert Dewar
2002-04-10  7:18           ` tmoran
2002-04-10  6:55             ` sk
2002-04-10 13:18               ` Marin David Condic [this message]
2002-04-10 16:55               ` Stephen Leake
2002-04-10 17:48                 ` Marin David Condic
2002-04-11 13:42                 ` Ted Dennison
2002-04-11 20:22                   ` tmoran
2002-04-11 20:49                     ` Marin David Condic
2002-04-12 14:17                     ` Ted Dennison
2002-04-11 19:58                 ` sk
2002-04-12  0:01                   ` tmoran
2002-04-12  1:03                     ` sk
2002-04-14  1:57       ` S Campion
2002-04-15 17:24         ` Marin David Condic
  -- strict thread matches above, loose matches on Subject: below --
2002-04-05 16:30 Beard, Frank [Contractor]
2002-04-05 22:53 ` Phillip Kin
2002-04-06 11:13   ` D De Villiers
2002-04-10 10:41 Gautier Write-only-address
     [not found] <F248noaBumjl6uvoIt90001c420@hotmail.com>
2002-04-10 11:08 ` sk
2002-04-10 12:38 Gautier Write-only-address
2002-04-10 17:29 ` 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