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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,58ca990a20ca948e X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.glorb.com!news2.glorb.com!news2.arglkargh.de!nuzba.szn.dk!news.jacob-sparre.dk!pnx.dk!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: QtSql problem Date: Mon, 9 Feb 2009 21:09:57 -0600 Organization: Jacob Sparre Andersen Message-ID: References: <498bf574_4@news.bluewin.ch> <498dfa7f$0$30231$9b4e6d93@newsspool1.arcor-online.net> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1234235400 15364 69.95.181.76 (10 Feb 2009 03:10:00 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Tue, 10 Feb 2009 03:10:00 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Xref: g2news1.google.com comp.lang.ada:3594 Date: 2009-02-09T21:09:57-06:00 List-Id: "Georg Bauhaus" wrote in message news:498dfa7f$0$30231$9b4e6d93@newsspool1.arcor-online.net... ... > However obvious this generic might be to those well versed > in Ada programming, TB_Wrap continues to deserve 5 stars. :-) > > At least one non-GNAT Ada compiler produces tracebacks by > default, that is, ObjectAda. What do other compilers do? Janus/Ada has *always* generated complete tracebacks with names and line numbers. Even on the compiler that ran on and targeted 48K Z80 CP/M machines back in 1981. We learned early on (from using a several compilers that had such tracebacks and some that did not at the University of Wisconsin) how much easier it was to debug programs with proper tracebacks. I recall beating my head against a wall with the original Unix C compiler, whose only run-time error message was "bus error - core dumped" (that's the complete message!) -- didn't want to do that with our own compiler. We do provide an option for turning the overhead of the trace back off, but it generally is needed only in the most speed-critical routines. (There is a also an easy method for turning off the overhead in the runtime for our embedded customers, but hardly any of them have used it.) I recall complaining to Tucker and the rest of the Ada 9x team that the definition of Ada.Exception_Information made it hard to include a full walkback. The definition was changed somewhat, and indeed, Janus/Ada includes a truncated version of the walkback in Exception_Information. My limited experience with other Ada compilers is that most include a traceback by default -- a common feature that I link to think came about in part because their customers complained that the "cheap" Janus/Ada had this useful feature, and their expensive compilers didn't. (I know that happened because several customers have told me that they made such complaints at one point or another.) Randy Brukardt.