If a constructor crashes, the the object that it was constructing will
be destroyed. (fpc inserts an exception frame to ensure that).
So far so good, all correct.
But if the destructor (e.g Destroy) also crashes, then if you have -gl
it will dump the stack for the destructor.
The stack for the constructor is never dumped at all.
Is there a way to make it dump the constructor crash as well (maybe
before calling destroy)?
fpc trunk (yesterday) / -gl -gw / w32
Martin
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel