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=-0.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e151cd4e58019c6c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-04-10 17:11:33 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!colt.net!kibo.news.demon.net!demon!psiuk-p2!psiuk-p3!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: Newbie: Best Ada Compiler for MS Windows ? Date: Wed, 10 Apr 2002 09:18:54 -0400 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: References: <5ee5b646.0204092008.7a6a41bc@posting.google.com> NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1018444736 6668 136.170.200.133 (10 Apr 2002 13:18:56 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 10 Apr 2002 13:18:56 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:22341 Date: 2002-04-10T13:18:56+00:00 List-Id: "sk" 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