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

Xavier Bigand flamaros.xavier at gmail.com
Sat Jan 11 10:16:09 PST 2014


Le 11/01/2014 18:45, Benjamin Thaut a écrit :
> 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

Yep I am using VisualD with cv2pdb, and I build in debug mode with the 
flag -g.



More information about the Digitalmars-d-learn mailing list