开发者

Debugging release-mode binaries in VC++

I have an .exe that crashes in release mode. I want to debu开发者_Python百科g where the crash occurs.

How can I use VC++ to debug a crash in a release-mode .exe?


You can run Visual Studio and attach it to a process to debug. Also check through the Windows Event Viewer (an often overlooked source of information) for any exceptions that Windows may have caught.


Firstly if you have access to the code you can open the workspace in visual studion and debug it by pressing F5 button.

Secondly go through the steps that leads to the crash. At that point of time check the location pointed to by the call stack.

This will give you indication on the funciton or line where crash is occuring.

We are assuming this application was written in VC++. How often are you able to reproduce this issue. Is it like everytime you can reproduce it or how is it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜