comp.lang.ada
 help / color / mirror / Atom feed
From: ldries46 <bertus.dries@planet.nl>
Subject: Re: Alternative for Gnat Studio
Date: Fri, 5 Mar 2021 13:58:17 +0100	[thread overview]
Message-ID: <60422aea$0$16499$e4fe514c@news.kpn.nl> (raw)
In-Reply-To: <5b0c7577-7dcc-468b-a24b-7447a8e796b7n@googlegroups.com>

Op 2-3-2021 om 6:11 schreef John Perry:
> On Sunday, February 28, 2021 at 4:54:30 PM UTC-6, Stephen Leake wrote:
>> "Dmitry A. Kazakov" <mai...@dmitry-kazakov.de> writes:
>>
>>> GDB and IDE are different things. GDB never really worked for complex
>>> projects and, I am afraid, it never will.
>> GDB has always met my needs, programming spacecraft simulators for NASA.
>>
> Honest question: do you have advice for debugging exceptions in GDB?*** I had to debug an exception the other day & I had a humdinger of a time determining what caused it. When the Ada RT raises an exception in GDB, GDB quits the program state altogether, so I have to employ guess-and-check methods to figure out where, say, an Ordered_Map Key_Error occurs. This is contrary to how GDB handles C++ exceptions: the program stops immediately, so that you can examine the state, move up and down through the stack, etc.
>
> I've used GDB a lot with C++, so I don't find it as bad as Dmitry says, but it's a much poorer experience when debugging Ada. (Still useful!)
>
> ***Aside from writing programs that don't raise them, of course. ;-)
I am normally using severaldifferent methods of debugging tohether:

 1. using an extra package that is only used to create simple output to
    the cmd window or the equivalent in the GPS studio program. This
    creates output over the full run the program m makes. By deleting
    the call to the package it is easy todelete all extra statements.
 2. In the case of programs with a GUI using extra calls to that GUI
 3. GDB in situations where it necessary to follow the program statement
    by statement


  parent reply	other threads:[~2021-03-05 12:58 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <602e608e$0$27680$e4fe514c@news.kpn.nl>
2021-02-19  3:17 ` Alternative for Gnat Studio Matt Borchers
2021-02-19  8:16   ` Luke A. Guest
2021-02-20 15:48   ` ldries46
2021-02-20 16:12     ` Chris Townley
2021-02-21 12:06       ` ldries46
2021-02-22  7:00         ` Roger Mc
2021-02-22 11:20           ` Simon Wright
2021-02-23  7:52             ` ldries46
2021-02-24  8:11           ` Vadim Godunko
2021-02-24 10:06             ` Roger Mc
2021-02-24 11:42               ` Vadim Godunko
2021-03-05  9:36         ` Jerry
2021-03-05 13:37           ` DrPi
2021-03-06 12:14             ` Jérôme Haguet
2021-03-06 15:22               ` DrPi
2021-02-25 12:43 ` ldries46
2021-02-25 14:48   ` Dennis Lee Bieber
2021-02-25 18:10   ` Simon Wright
2021-02-25 23:51   ` Stephen Leake
2021-02-26  7:56   ` Dmitry A. Kazakov
2021-02-28 22:54     ` Stephen Leake
2021-03-01 18:04       ` Ludovic Brenta
2021-03-02  5:11       ` John Perry
2021-03-02  8:04         ` Simon Wright
2021-03-02  8:08         ` Emmanuel Briot
2021-03-02  9:13           ` rr (was: Re: Alternative for Gnat Studio) Simon Wright
2021-03-02  9:23             ` Emmanuel Briot
2021-03-04 22:48               ` rr Simon Wright
2021-03-04 22:53             ` rr Simon Wright
2021-03-05  6:53               ` rr Emmanuel Briot
2021-03-03  3:31           ` Alternative for Gnat Studio John Perry
2021-03-05 12:58         ` ldries46 [this message]
2021-03-05 13:24           ` J-P. Rosen
2021-03-06 19:21 ` Daniel Norte Moraes
2021-03-13 16:17 ` Jaime Tarrasa
2021-03-13 16:26   ` Egil H H
2021-03-13 17:40   ` Stephen Leake
2021-03-13 22:07   ` Simon Wright
2021-03-13 23:35     ` Roger Mc
2021-03-14  6:34       ` Jeffrey R. Carter
2021-03-14  8:47       ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox