comp.lang.ada
 help / color / mirror / Atom feed
From: Gautier <gautier.demontmollin@maths.unine.ch>
Subject: Tracebacks, GNAT
Date: 2000/05/01
Date: 2000-05-01T00:00:00+00:00	[thread overview]
Message-ID: <390DA4B3.2B9F2543@maths.unine.ch> (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/




                 reply	other threads:[~2000-05-01  0:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

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