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

Ankit picture Ankit · Nov 25, 2014 · Viewed 12.2k times · Source

I'm trying to debug an application but I'm constantly getting the following error message: "The breakpoint will not currently be hit. No symbols have been loaded for this document." when I attach it to the desired process.

After digging in a bit, I realized that many pdb files are not getting created when I build the solution although the dll's are available.

enter image description here

Answer

Simpson Kamonere picture Simpson Kamonere · Feb 7, 2017

I had a similar problem from a web api code I got from another developer. Turned out Just My Code was set to true. You should see in your output window a line that says symbols were not loaded. To turn Just My Code off go to tools then options, debugging, general and untick Enable Just My Code