comp.lang.ada
 help / color / mirror / Atom feed
* Tracebacks, GNAT
@ 2000-05-01  0:00 Gautier
  0 siblings, 0 replies; only message in thread
From: Gautier @ 2000-05-01  0:00 UTC (permalink / raw)


Hi everybody.

Has someone managed to obtain a detailed trace-back
built in an executable, e.g. with an exception part,
on GNAT 3.12+ ? I have 2 elements under hand for GNAT 3.12+:

- It outputs 1 line and file for an unhandled exception
- The package GNAT.Traceback seems to provide a list
  of addresses for the whole stack.
- On supported platforms, there is a symbolic traceback.
  (which sort of output ?)

Ideally the output would be like my non built-in and
hack-work AD for GNAT/Win32 and GNAT/DOS.

raised CONSTRAINT_ERROR

---[ Call stack ]----------
File            Line   Unit
-----------------------------------------------------
apraanex.adb       6   A_package_raising_an_exception
testexce.adb       9   Test_Exception
testexce.adb      14   Test_Exception
testexce.adb      19   Test_Exception
testexce.adb      24   Test_Exception
testexce.adb      29   Test_Exception
 
_____________________________________________
Gautier  --  http://members.xoom.com/gdemont/




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-05-01  0:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-01  0:00 Tracebacks, GNAT Gautier

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