Debugging x64 application (C++) using visual studio 2012

余生颓废 提交于 2020-01-15 11:22:44

问题


I have a visual studio 2012 C++ application which compiles and run, but doesn't stop on breakpoints.

I already installed remote debugger (x64) and also run it and configure it for remote debugging.

In visual studio I tried boith remote debug and local debug, but both of them generate same result. It doesn't stop at breakpoints.

What do I do to debug a x64 c++ application?

Edit 1

Just found that the debugger says:

Symbol loading for myapp.exe was skipped because it is not specified in the includes modules

What that means?


回答1:


After checking project and build configuration, I found that the Generate debug info in debug part of linker

(Linker ->Debug: generate debug info)

is blank.

After setting it to yes, the debugger starts to work!



来源:https://stackoverflow.com/questions/17317601/debugging-x64-application-c-using-visual-studio-2012

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!