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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:a6b:7d09:: with SMTP id c9-v6mr5534063ioq.18.1534422880979; Thu, 16 Aug 2018 05:34:40 -0700 (PDT) X-Received: by 2002:aca:4787:: with SMTP id u129-v6mr804458oia.4.1534422880673; Thu, 16 Aug 2018 05:34:40 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.linkpendium.com!news.linkpendium.com!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!g24-v6no2394295iti.0!news-out.google.com!g5-v6ni3613iti.0!nntp.google.com!w19-v6no2366368itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 16 Aug 2018 05:34:40 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=101.164.108.182; posting-account=wavAeAoAAAAZF_sXSZepBukuPCBO0Zqt NNTP-Posting-Host: 101.164.108.182 References: <6193ff6e-8e9e-43be-adde-6ae0483e76af@googlegroups.com> <1d814c1d-1cad-49ab-9ad3-fc9b310a4b9a@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: GNAT built-in symbolic trace-back From: alby.gamper@gmail.com Injection-Date: Thu, 16 Aug 2018 12:34:40 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:54179 Date: 2018-08-16T05:34:40-07:00 List-Id: On Thursday, August 16, 2018 at 4:22:00 AM UTC+10, Dmitry A. Kazakov wrote: > On 2018-08-15 17:56, Anh Vo wrote: > > On Wednesday, August 15, 2018 at 12:08:06 AM UTC-7, gautier...@hotmail.com wrote: > >> Had a (positive) shock this morning, looking at gnatbind options: there is a built-in symbolic trace-back! The switch is -Es . I thought it was a feature that would never be implemented after 20+ years of GNAT's existence... > >> A short research shows me that: > >> - it is there since GNAT GPL/Community 2016 > >> - GPS GPL 2017 doesn't show it in the Project Properties box - only a checkbox for the old -E switch > > > > With this capability, most of the time (99%) a debugger is not needed. > > Certainly so with gdb, which is not usable in any way. But some working > visual debugger could be a useful addition to tracing. I still remember > the great DEC's debugger for VMS. > > -- > Regards, > Dmitry A. Kazakov > http://www.dmitry-kazakov.de Yes bring back VMS/DEC's debugger any day! As an alternative you could try the debugging facilities available via the "Visual Studio plugin" If you are developing under MS Windows It currently supports both the GDB MI interface as well as native MS debugging (If you enable linking via the MS linker) Both solutions are not perfect and have their pro's and cons's, But MAYBE worth a try (you might be surprized ?) Alex