How to find where program crashed

Posted by Mick on Stack Overflow See other posts from Stack Overflow or by Mick
Published on 2010-05-21T10:14:56Z Indexed on 2010/05/21 10:20 UTC
Read the original article Hit count: 202

I have a program that crashes (attempting to read a bad memory address) while running the "release" version but does not report any problems while running the "debug" version in the visual studio debugger.

When the program crashes the OS asks if I'd like to open up the debugger, and if I say yes then I see an arrow pointing to where I am in a listing of some assembler which I am not skilled enough to read properly (I learned 6502 assembler 30 years ago). Is there any way for my to determine where in my sourcecode the offending memory read was located?

© Stack Overflow or respective owner

Related posts about c++

Related posts about debugging