The breakpoint will not currently be hit - debuging feature receiver
-
29-11-2019 - |
Question
I need to debug my feature receiver, so I set up few breakpoints, but when I hit F5 in VS2010, they are all missed, and it says that "The breakpoint will not currently be hit. No symbols have been loaded for this document." What should I do to be able to debug my feature receiver?
Solution
Please follow this tutorial, I have done it thousands of time and it always work the same way.
OTHER TIPS
Also the dlls are deployed in GAC , so make sure change the settings. Follow this article
http://www.sharepointnutsandbolts.com/2007/03/how-to-debug-sharepoint-feature.html
First try rebuilding your project If that doesn't work, try to clean the project.
If that also doesn't work follow these steps.
- Right click your project
- Select [Properties]
- Select the [Build] tab
- Make sure [Define DEBUG constant] and [Define TRACE constant] are checked
- Click the [Advanced] button at the bottom of the Build tabpage
- Make sure that [Debug Info] is set to [full]
- Click [OK] and rebuild the project
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange