Access Vialotation

BCS none at anon.com
Sat Feb 28 08:47:40 PST 2009


Hello downs,

> BCS:
>
>> you can have a posix signal handler throw an exception (I have done
>> it and had it work) but I have no idea if it is supported.
>> 
> In my experience, that works exactly once.
> 

That would match with what I needed: poor man's stack tracing

int EveryFunction()
{
scope(failure) writef("%s:%s\n",__FILE__,__LINE__);

...

}





More information about the Digitalmars-d-learn mailing list