[Windows & DMD] No callstack when crash with Access violation reading location 0x00000000

Benjamin Thaut code at benjamin-thaut.de
Sat Jan 11 09:45:16 PST 2014


Am 11.01.2014 17:24, schrieb Xavier Bigand:
> I get some troubles to solve a memory bug, just cause I don't have any
> informations for debuggers and I can't neither use DrMemory.
>
> Is it possible to get the callstack when calling a method on a null
> pointer with specifics DMD flags?
>
> Maybe DMD need add null ptr call checks in debug mode?

For x64 exeuctables compile with -g.
For x86 executables compile with -g and then run cv2pdb on the final 
executable. cv2pdb is part of VisualD.

Kind Regards
Benjamin Thaut


More information about the Digitalmars-d-learn mailing list