1

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?

12
  • You're building in debug mode, right? Commented Jun 26, 2013 at 10:31
  • @LightnessRacesinOrbit yes: The configuration is debug. Should I do anything else? Commented Jun 26, 2013 at 10:34
  • Are you sure the breakpoint is reachable? Commented Jun 26, 2013 at 10:35
  • @C.Lang It is on the first line on winmain so I believe they should be reachable. Commented Jun 26, 2013 at 10:42
  • Do you have a constructor for a global variable? Some things are run before main. Commented Jun 26, 2013 at 10:48

1 Answer 1

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!

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.