Access violation in trying to use a class

Daniel Keep daniel.keep.lists at gmail.com
Tue May 29 03:26:37 PDT 2007



Luis Marques wrote:
> Derek Parnell Wrote:
> 
>> I figure though that Walter will see the use of compiler generated checking
>> code eventually and slip it in as a present to his loyal subjects one day
>> <G>.
> 
> Instead of a per-access check, why doesn't the compiler add more intelligence to the exception handler to figure out the correct file:line, as ddbg does?

That would only work if you compile with debugging symbols.  Plus,
that's what (AFAIK) traced exceptions do.  Now, if only we could get
traced exceptions out of the box...

-- 
int getRandomNumber()
{
    return 4; // chosen by fair dice roll.
              // guaranteed to be random.
}

http://xkcd.com/

v2sw5+8Yhw5ln4+5pr6OFPma8u6+7Lw4Tm6+7l6+7D
i28a2Xs3MSr2e4/6+7t4TNSMb6HTOp5en5g6RAHCP  http://hackerkey.com/



More information about the Digitalmars-d mailing list