Catching Acces Violation/Segmentation Fault
BCS
BCS at pathlink.com
Thu May 10 08:44:14 PDT 2007
Sean Kelly wrote:
> Is it legal to throw an exception from a signal handler? This
> seems risky (though appealing).
>
>
> Sean
It seems to work, OTOH I never catch it so it might be causing problems
that I'm not noticing. Really the only reason I have it is so that my
DIY stack trace works on seg-vs
// at the top of *every* function
scope(failure) writef("backtrace@"__FILE__~itoa!(__LINE__)~\n);
More information about the Digitalmars-d-learn
mailing list