* Re: GDB Woes Continued...
@ 1998-02-03 0:00 Marin David Condic, 561.796.8997, M/S 731-96
1998-02-04 0:00 ` Robert Dewar
0 siblings, 1 reply; 6+ messages in thread
From: Marin David Condic, 561.796.8997, M/S 731-96 @ 1998-02-03 0:00 UTC (permalink / raw)
wanker@EXPLOITED.BARMY.ARMY writes:
>In article <6b50fl$knt@lotho.delphi.com>, <tmoran@bix.com> wrote:
>>>deleted it from my system because there wasn't a useful debugger
>>>available. Without being able to debug my code, ...
>> Did your Ada system give source code walkbacks on unhandled
>>exceptions, or (in Ada 95) in Ada.Exceptions.Exception_Information?
>>I find *much* less usage of the debugger now that I have those.
>
>Unfortunately, it did not give me any sort of walkback.
>
If you are using gdb, try these instructions to get a traceback.
It's bailed me out more than once:
Instructions for getting the Gnat Debugger to do a stack dump
(traceback) when some crash is occurring.
1) Compile and link with debug options set.
gnatmake -f -g <main unit> -largs g
2) Run program with GDB as documentation indicates.
gdb <program name>
(gdb) break __gnat_unhandled_exception
(gdb) run
(gdb) backtrace
(gdb) quit
Good luck with it...
MDC
Marin David Condic, Senior Computer Engineer Voice: 561.796.8997
Pratt & Whitney GESP, M/S 731-95, P.O.B. 109600 Fax: 561.796.4669
West Palm Beach, FL, 33410-9600 Internet: CONDICMA@PWFL.COM
=============================================================================
"I filled out an application that said, 'In Case Of Emergency
Notify'. I wrote 'Doctor'... What's my mother going to do?"
-- Steven Wright
=============================================================================
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: GDB Woes Continued...
1998-02-03 0:00 GDB Woes Continued Marin David Condic, 561.796.8997, M/S 731-96
@ 1998-02-04 0:00 ` Robert Dewar
[not found] ` <01bd333c$4fb8b000$452c5c8b@aptiva>
0 siblings, 1 reply; 6+ messages in thread
From: Robert Dewar @ 1998-02-04 0:00 UTC (permalink / raw)
Marin said
<< Although I don't use gdb that much, I still think it's handy -
especially when you end up with an error during elaboration &
don't get a traceback to know what module caused the trouble. Gdb
is pretty good at filling that gap. I'd have to agree that there
is a bit of a dearth of good documentation, but with what's
>>
Opinions about documentation can always differ, but I trust that
Marin has a copy of the GDB manual from the FSF (this is available
either online, or in nice printed form, either from FSF, or at
your favorite technical bookstore).
This is an important source of basic information on the facilities
in GDB.
The information on Ada mode is certainly not complete (because Ada
mode is very new, and under continuing development), so there you
have to rely on the documentation that comes with GNAT.
It is also the case that the documentation for the GUI interface
(GDBTK) is also incomplete, although, in the tradition of GUI's,
the idea is that it is supposed to be easy to use without documentation :-)
Still we are busy generating more comprehensive documentation for the
GUI features.
Robert Dewar
Ada Core Technologies
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1998-02-10 0:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-02-03 0:00 GDB Woes Continued Marin David Condic, 561.796.8997, M/S 731-96
1998-02-04 0:00 ` Robert Dewar
[not found] ` <01bd333c$4fb8b000$452c5c8b@aptiva>
1998-02-09 0:00 ` GDB Woes Continued: language related ? Roger Racine
1998-02-09 0:00 ` Robert Dewar
1998-02-10 0:00 ` Richard Kenner
1998-02-10 0:00 ` Jerry van Dijk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox