Access Vialotation

Qian Xu quian.xu at stud.tu-ilmenau.de
Tue Mar 3 13:50:20 PST 2009


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


More information about the Digitalmars-d-learn mailing list