How to get a stack trace when C++ program crashes? (using msvc8/2005)

后端 未结 7 708
不知归路
不知归路 2021-02-09 13:44

Sometimes my c++ program crashes in debug mode, and what I got is a message box saying that an assertion failed in some of the internal memory management routines (accessing una

7条回答
  •  忘了有多久
    2021-02-09 14:41

    If I remember correctly that message box should have a button which says 'retry'. This should then break the program (in the debugger) at the point where the assertion happened.

提交回复
热议问题