www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - exception stack trace

What was really nerving about C++ and really impressing about java is the
ability to get the exception's stacktrace in human readable form.

In D, is there a way to conditionally emit stack trace information at
compile time for debug purposes?

I think such a thing MUST be standardised through all D implementations,
like making getStackTrace() a core function of the root Exception class.

Any suggestions? Maybe I've missed something?
Dec 07 2004