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

I have a Visual C ++ 2012 C ++ application that compiles and runs, but does not stop at breakpoints.

I already installed the remote debugger (x64) and also launched it and configured it for remote debugging.

In visual studio, I tried remote debugging and local debugging, but both of them generate the same result. It does not stop at breakpoints.

What should I do to debug an x64 C ++ application?

Change 1

Just found that the debugger says:

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

What does it mean?

+1
source share
1 answer

After checking the configuration of the project and the assembly, I found that to generate debug information in the debug part of the linker

(Linker -> Debug: generate debug information)

is empty.

After setting to yes, the debugger starts working!

+1
source

Source: https://habr.com/ru/post/953483/


All Articles