Debugging x64 application (C++) using visual studi

2019-07-25 08:40发布

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条回答
Explosion°爆炸
2楼-- · 2019-07-25 09:17

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!

查看更多
登录 后发表回答