Changes between Version 4 and Version 5 of TutStackTrace
- Timestamp:
- 09/16/09 01:20:49 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TutStackTrace
v4 v5 14 14 import tango.core.stacktrace.TraceExceptions; 15 15 }}} 16 Then the if you print toexception with something like this16 Then if you print the exception with something like this 17 17 {{{ 18 18 e.writeOut((char[] s) { Stdout(s); }); 55 55 Tracing might have problems with nested functions (that lead to nested stackframes that interrupt the stacktracing procedure). 56 56 57 The function names and ad resses can be recovered with the addr2line utility.57 The function names and addresses can be recovered with the addr2line utility. 58 58 At 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. 59 59