call stack tracing
Adam D. Ruppe via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Aug 5 18:44:04 PDT 2016
On Saturday, 6 August 2016 at 01:29:37 UTC, Mark "J" Twain wrote:
> Of course, exceptions have TraceInfo... could that be used
> anywhere or hacked to get what I need?
The function is defaultTraceHandler in druntime for what the
exceptions do:
http://arsdnet.net/dcode/stacktrace.d
more text about this trick is available in my book btw
https://www.packtpub.com/application-development/d-cookbook
More information about the Digitalmars-d-learn
mailing list