comp.lang.ada
 help / color / mirror / Atom feed
* 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

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