comp.lang.ada
 help / color / mirror / Atom feed
* Where is exception Info?
@ 1996-10-01  0:00 JR Crosmer
  1996-10-06  0:00 ` Robert Dewar
  0 siblings, 1 reply; 2+ messages in thread
From: JR Crosmer @ 1996-10-01  0:00 UTC (permalink / raw)



When executing a program compiled with GNAT, how does one cause
the runtime system to display the package and line number of
an exception that is reported, but not handled?

In looking through the GNAT help for w95, I cannot even find the
word exception in the index.  Does this mean that the only way
to locate an unhandled exception is to use gdb?

JR Crosmer




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Where is exception Info?
  1996-10-01  0:00 Where is exception Info? JR Crosmer
@ 1996-10-06  0:00 ` Robert Dewar
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Dewar @ 1996-10-06  0:00 UTC (permalink / raw)



JR Crosmer asks

"In looking through the GNAT help for w95, I cannot even find the
word exception in the index.  Does this mean that the only way
to locate an unhandled exception is to use gdb?"

This is a system dependent question. We use standard sytem formats for
debugging information, so whether the information for a traceback is
available without using the debugger is system dependent. For example,
on VMS, a traceback is available, because the system is set up for this,
with special traceback information being a standard feature of object
files. In other systems, including Win95, the only way to get a traceback
is to use the debugging information via GDB. Of course GDB is completely
non-intrusive, so if you like you can easily setup to run all your programs
under GDB all the time, and it will not in anyway affect the behavior or
performance of these programs unless the breakpoint is hit.

If you don't find the information on how to do this by searching for the
word exception, you are not reading the GNAT documentation (gnatinfo.txt),
since this is described there!





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-10-06  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-10-01  0:00 Where is exception Info? JR Crosmer
1996-10-06  0:00 ` Robert Dewar

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