iterators_0.2.0_18995a4d/deps/aaa/src/aaa-debug.adb

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
with Ada.Exceptions;

package body AAA.Debug is

   -----------------
   -- Stack_Trace --
   -----------------

   function Stack_Trace return String is
      Debug_Exception : exception;
   begin
      raise Debug_Exception;
   exception
      when E : Debug_Exception =>
         return Ada.Exceptions.Exception_Information (E);
   end Stack_Trace;

end AAA.Debug;