Access violation in trying to use a class

gerleim elf_qt at _deletethisifyouarenotaspammer_yahoo.com
Mon May 28 15:50:47 PDT 2007


> In the past, I'd tried some of the debuggers with D and had bad experience
> with them. I just gave ddbg another try and it is now quite useful.

> ...
 
> I compiled with "dmd test.d -g" the fired up ddbg with "ddbg test.exe".
> 
> I used the "r" command and it ran the program and halted at the Access
> Exception...
> 
> C:\temp>ddbg test.exe
> Ddbg 0.08.1 beta - D Debugger
> Copyright (c) 2007 Jascha Wetzel
> see http://ddbg.mainia.de/doc.html for documentation
> 
> Loading symbols from test.exe
> ->r
> ntdll.dll loaded
> KERNEL32.dll loaded
> USER32.dll loaded
> GDI32.dll loaded
> IMM32.dll loaded
> ADVAPI32.dll loaded
> RPCRT4.dll loaded
> unknown DLL loaded
> OUTPUT DEBUG STRING:
> test.exe
> OUTPUT DEBUG STRING:
> Query the registry to get manually configured process list.
> Unhandled Exception: EXCEPTION_ACCESS_VIOLATION(0xc0000005) at _Dmain
> test.d:8 (
> 0x0040201e)
> ->q
> 
> Which is exactly what I hoped it would show. So maybe now I can live
> without compiler code checking for access violations.
> 
> 
> THANKS JASCHA.
> 
> -- 
> Derek Parnell
> Melbourne, Australia
> "Justice for David Hicks!"
> skype: derek.j.parnell

Oh, that's nice, thanks.
gerleim



More information about the Digitalmars-d mailing list