[Issue 1001] print stack trace (in debug mode) when program die

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Aug 22 23:19:43 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=1001


nfxjfg at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nfxjfg at gmail.com


--- Comment #27 from nfxjfg at gmail.com 2010-08-22 23:19:26 PDT ---
Note that Tango has a full implementation for backtraces both on Windows and
Linux with demangled function names, files and line numbers. They are shown on
uncatched exceptions, segfaults, or when explicitly requested. Only
requirements are that the D program got compiled with debug infos switched on,
and that backtracing explicitly is enabled by importing
tango.core.tools.TraceException.

Of course Phobos can use the Tango BSD implementation since Phobos switched to
Boost license, but it shows that it's very possible. I wish the Phobos team
good luck duplication the functionality.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list