BCS wrote:
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__);

...

}




it does not work with gdc.

d2.0 does not have problem with NullPointerException at all.


--
Xu, Qian (stanleyxu)
 http://stanleyxu2005.blogspot.com

Reply via email to