On Wednesday, 5 August 2015 at 15:57:46 UTC, Adam D. Ruppe wrote:
If you just download this little file:

http://arsdnet.net/dcode/linetrace.d

and add it to your build, when compiling in debug mode, it will translate the addresses into line numbers (by simply piping out to addr2line on the command line)

No modification to your program is required.

There already is http://code.dlang.org/packages/backtrace-d.
And there exists even an ELF based backtrace, but I'm still waiting for someone to polish it for druntime.
https://issues.dlang.org/show_bug.cgi?id=11870

Reply via email to