Stacktraces in static constructors

Nordlöw via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue May 3 03:48:51 PDT 2016


AFAICT, stacktraces are not emitted with debug information when 
errors occurr in static module constructors. Is this a know bug?

This is a big problem for me because, in my application, I've 
realized unittests as functions called from within static shared 
module constructors to elide the problem of unittests being 
enabled recursively, which slows down iterative compilation time 
enormously.


More information about the Digitalmars-d-learn mailing list