nqlgiw
Last Updated: February 25, 2016
·
1.035K
· blaiseliu

The breakpoint will not currently be hit. No symbols have been loaded for this document.

Yeah, a lot of us have seen this when debugging in Visual Studio.

Instead of the solid red icon, our break points turn into a hollow yellow circle, with an information sign on it.

Picture

Mouse over that icon, we will see the famous error:

  • The breakpoint will not currently be hit. No symbols have been loaded for this document. *

The actual meaning? We should use Debug configuration setting when debugging.

Picture

Many times, it is left in Release or whatever we have in the configuration profiles. In that case, the debug won't work as expected and the break points won't be hit.