CDbg»Forums
10 posts
Application Error
Edited by Vee900 on Reason: Initial post
Hi,
Everytime i try to debug my program i keep getting
Instruction at 0x0000000000000000 referenced memory at
0x0000000000000000.The memory could not be written.

Help please

Thanks
Simon Anciaux
1214 posts
Application Error
Have you tried debugging in Visual Studio to see if the problem comes from CDBG or your program ?
What flags do you use to compile you program ?
Could you provide us the sources of you program so we can try to reproduce the problem ?
10 posts
Application Error
Hi,

Sorry for the late reply.I've been following casey's handmade hero and the only switch using cl is -Zi.Debugging in VS throws no error at all.
Hope that helps
Thanks
Nikita Smith
45 posts / 1 project
None
Application Error
Edited by Nikita Smith on Reason: typo
Vee900
Hi,

Sorry for the late reply.I've been following casey's handmade hero and the only switch using cl is -Zi.Debugging in VS throws no error at all.
Hope that helps
Thanks


I am sorry to hear that CDBG fails you.

Can you tell me your version of cl.exe that you use?

And try to recompile project with a -Z7 switch instead, maybe that will help.