Debugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document
-
Hi When i try to break point (Debug) the vb.net program. then program not stop at the break point and when we move the cursor on break point it shows the following error "Debugger problem
"The breakpoint will not currently be hit. No symbols have been loaded for this document"
i also change the configuration setting to debug mode. but success is so far. Please suggest how i solve this problem Thanks~Khatri Mitesh khatrimitesh@hotmail.com Bikaner (Rajasthan) INDIA
-
Hi When i try to break point (Debug) the vb.net program. then program not stop at the break point and when we move the cursor on break point it shows the following error "Debugger problem
"The breakpoint will not currently be hit. No symbols have been loaded for this document"
i also change the configuration setting to debug mode. but success is so far. Please suggest how i solve this problem Thanks~Khatri Mitesh khatrimitesh@hotmail.com Bikaner (Rajasthan) INDIA
When you are debugging a program, the debugger (visual studio) needs to locate and load the matching symbol files (the .pdb files) for the specific version being debugged. It's possible that the .pdb files for some reason are getting mismatched. Perhaps there are some old .pdb files hanging around from an old build. Try deleting everything in the bin and obj directories of every project. This will cause all the projects to rebuild fully and regenerate their .pdb files. If this doesn't work, check the project settings to see if it's configured to generate symbol files. (Right click on the project->Properties->Build tab->Advanced->Output:Debug Info. Set to either full (for debug builds) or pdb only (for release builds).
Simon
-
When you are debugging a program, the debugger (visual studio) needs to locate and load the matching symbol files (the .pdb files) for the specific version being debugged. It's possible that the .pdb files for some reason are getting mismatched. Perhaps there are some old .pdb files hanging around from an old build. Try deleting everything in the bin and obj directories of every project. This will cause all the projects to rebuild fully and regenerate their .pdb files. If this doesn't work, check the project settings to see if it's configured to generate symbol files. (Right click on the project->Properties->Build tab->Advanced->Output:Debug Info. Set to either full (for debug builds) or pdb only (for release builds).
Simon
If you are still unable to get that to work, you can right click on the breakpoint, choose locations, and enable the "allow code to be different" checkbox at the bottom. This will let you debug code when the deployed PDB/DLL doesnt match your debugger copy.
-
If you are still unable to get that to work, you can right click on the breakpoint, choose locations, and enable the "allow code to be different" checkbox at the bottom. This will let you debug code when the deployed PDB/DLL doesnt match your debugger copy.
-
Very nice tip astanton, didn't know that option was there.
Any suggestions, ideas, or 'constructive criticism' are always welcome. "There's no such thing as a stupid question, only stupid people." - Mr. Garrison
Thanks, I used it all the time for debugging JS in asp.net apps until I found FF/firebug and IE8.
-
Hi When i try to break point (Debug) the vb.net program. then program not stop at the break point and when we move the cursor on break point it shows the following error "Debugger problem
"The breakpoint will not currently be hit. No symbols have been loaded for this document"
i also change the configuration setting to debug mode. but success is so far. Please suggest how i solve this problem Thanks~Khatri Mitesh khatrimitesh@hotmail.com Bikaner (Rajasthan) INDIA
Thanks to All dear I try everything but Success is so far..... So Please suggest what i do.... bcoz i try all the suggesstions and i also search on google and msdn but.... no success. So plz gave me help! Thanx Khatri Mitesh
~Khatri Mitesh khatrimitesh@hotmail.com Bikaner (Rajasthan) INDIA