Re: Getting backtrace

2014-01-09 Thread Xavier Bigand
Le 08/01/2014 21:29, Benjamin Thaut a écrit : Am 08.01.2014 21:25, schrieb Xavier Bigand: Is there a way to get backtrace outside exceptions? Found a plattform independend way: import core.runtime; import std.stdio; void main(string[] args) { auto trace = defaultTraceHandler(null);

Re: Getting backtrace

2014-01-08 Thread yazd
On Wednesday, 8 January 2014 at 20:25:28 UTC, Xavier Bigand wrote: Is there a way to get backtrace outside exceptions? If you're on Linux, you can try this library: https://github.com/yazd/backtrace-d

Re: Getting backtrace

2014-01-08 Thread Benjamin Thaut
Am 08.01.2014 21:25, schrieb Xavier Bigand: Is there a way to get backtrace outside exceptions? On which plattform?

Re: Getting backtrace

2014-01-08 Thread Adam D. Ruppe
On Wednesday, 8 January 2014 at 20:25:28 UTC, Xavier Bigand wrote: Is there a way to get backtrace outside exceptions? Yes http://arsdnet.net/dcode/stacktrace.d works at least on linux

Getting backtrace

2014-01-08 Thread Xavier Bigand
Is there a way to get backtrace outside exceptions?

Re: Getting backtrace

2014-01-08 Thread Benjamin Thaut
Am 08.01.2014 21:25, schrieb Xavier Bigand: Is there a way to get backtrace outside exceptions? Found a plattform independend way: import core.runtime; import std.stdio; void main(string[] args) { auto trace = defaultTraceHandler(null); foreach(t; trace) {