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,LOTS_OF_MONEY autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fac41,b2bad1e85ca20475 X-Google-Attributes: gidfac41,public X-Google-Thread: 103376,5b3c19b1631bb558 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-10-31 17:01:15 PST Path: supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!europa.netcrusader.net!63.208.208.143!feed2.onemain.com!feed1.onemain.com!novia!sjc-peer.news.verio.net!news.verio.net!iad-read.news.verio.net.POSTED!kilgallen From: Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) Newsgroups: comp.lang.eiffel,comp.lang.ada Subject: Re: The best thing/greatest feature summary Message-ID: <6AEtYY2+OZIz@eisner.decus.org> References: <39fed7b6@rsl2.rslnet.net> Organization: LJK Software Date: 31 Oct 2000 14:58:23 -0500 NNTP-Posting-Host: 216.44.122.34 X-Complaints-To: abuse@verio.net X-Trace: iad-read.news.verio.net 973022307 216.44.122.34 (Tue, 31 Oct 2000 19:58:27 GMT) NNTP-Posting-Date: Tue, 31 Oct 2000 19:58:27 GMT Xref: supernews.google.com comp.lang.eiffel:943 comp.lang.ada:1674 Date: 2000-10-31T14:58:23-05:00 List-Id: In article , tmoran@acm.org writes: >>increase the detail in the error message, and be able to print or >>log the name of the routine or class in which it occured. > The better Ada compilers give a walkback in the string returned > by Ada.Exceptions.Exception_Information, eg > CONSTRAINT_ERROR > Divide By Zero Detected > On Line Number 7 In TEST.SOME_PROCEDURE > Called from line number 12 In TEST > and of course you can force an exception just to get such a string. What "the better Ada compilers" do is not really a characteristic of the language. VMS gives traceback for all languages, each in accordance with their limitations (such as not detecting some error in the first place).