Win32: How to get the stack trace when compiling with a windows subsystem?

Nick Sabalausky SeeWebsiteToContactMe at semitwist.com
Sun Aug 18 10:14:04 PDT 2013


On Sun, 18 Aug 2013 16:07:20 +0200
Andrej Mitrovic <andrej.mitrovich at gmail.com> wrote:
>
>     catch (Throwable thr)
>     {
>         stderr.writeln(thr.msg);

stderr.writeln(thr.msg); // No trace
stderr.writeln(thr);     // Includes trace

However, I'm guessing it probably doesn't solve the other problem:

> The
> 'info' field of a Throwable can be converted to a string, so I can
> output this into a log file.
> 
> But, the info field is always null in a module constructor:


More information about the Digitalmars-d-learn mailing list