Home > Software engineering >  VS breakpoint tip: current won't hit a breakpoint. Haven't load any symbol for the documen
VS breakpoint tip: current won't hit a breakpoint. Haven't load any symbol for the documen

Time:09-22

Question:
Step through the two times, can hit a breakpoint, start debugging cannot hit again, didn't change the middle code, recompile,
Online said various Settings are checked and not found the problem,
Who knows, under the command window of VS how to reload the symbol file? Similar Windbg reload command,

CodePudding user response:

Restart computer
Restart VS
Rebuild all

CodePudding user response:

Set a breakpoint function is written by yourself? If so, try to recompile

CodePudding user response:

reference 1st floor zhao4zhong1 response:
restart your computerRestart VS
Rebuild all

+ 1
I the day before yesterday

CodePudding user response:

General is to restart the compiler, recompile, and then to set a breakpoint debugging

CodePudding user response:

May be other reasons for destroying existing debug symbol
Recompile the can

CodePudding user response:

Often encounter the same problem, the building Lord problem solved it

CodePudding user response:

I've encountered this problem, in fact, as long as it is good to regenerate, (generated -- regenerated solution)

CodePudding user response:

The PDB file be deleted?

CodePudding user response:

Tools - line selection - debugging will be consistent with the source code to remove
Restart the computer

CodePudding user response:

Whether to generate debug information is it closed? Or to release mode?
  • Related