How can I get a backtrace when my WndProc throws?

Adam D. Ruppe destructionator at gmail.com
Mon Jun 3 12:09:18 UTC 2019


On Monday, 3 June 2019 at 11:19:22 UTC, Markus wrote:
> a throw, has anyone an idea how to do this?

First thing I'd try is to just print the exception when you catch 
it. The toString method can do a backtrace.

Don't use just e.msg, that's just the string the constructor 
sent, use e.toString and see if it works for you.


More information about the Digitalmars-d-learn mailing list