Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changes between Version 4 and Version 5 of TutStackTrace

Show
Ignore:
Author:
Abscissa (IP: 76.189.240.11)
Timestamp:
09/16/09 01:20:49 (15 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TutStackTrace

    v4 v5  
    1414import tango.core.stacktrace.TraceExceptions; 
    1515}}} 
    16 Then the if you print to exception with something like this 
     16Then if you print the exception with something like this 
    1717{{{ 
    1818e.writeOut((char[] s) { Stdout(s); }); 
    5555Tracing might have problems with nested functions (that lead to nested stackframes that interrupt the stacktracing procedure). 
    5656 
    57 The function names and adresses can be recovered with the addr2line utility.  
     57The function names and addresses can be recovered with the addr2line utility.  
    5858At the moment there is no easy to use D program to parse a stacktrace, call addr2line and return demangled function names and file/number, a contribution would be appreciated. 
    5959