Problem debugging webservice. WebService Debug Problem The breakpoint will not be hit No
symbol has been loaded for this document
You might have seen it in some times you could see hollow maroon circle with a warning that says The
breakpoint will not currently be hit. No symbols have been loaded for this document. This has happened
serverl time in this occasion when I was trying to debug a WebService
I have found that the webservice never gets hit what ever you try. The solution I found is to
from the Winform application. Put a break point in the function that call webservice. then
Once the break points get hits in the windows application then press F11 to step into
This way the webservice is called.
Below are the things if this dosent work.
There are loats or articles which tell you to delete bin & obj folder.
* stop the debugger
* close the IDE
* close the hosting application
* delete the obj and bin folders
* restart the IDE
* rebuild the project
If it dosent work then try this
While debugging in Visual Studio (While Program is running), click on
Debug > Windows > Modules. The IDE will dock a Modules window, showing all the modules that
have been loaded for your project.
Look for your project's DLL, and check the Symbol Status for it.
If it says Symbols Loaded, then you are good to go. if it shows "Cannot find or open the PDB file",
right-click on your module, select Load Symbols, and browse to the path of your PDB.