SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 3 down vote accepted

Please follow this tutorial, I have done it thousands of time and it always work the same way.

share|improve this answer
The key is setting the deployment configuration to No Activation otherwise your Feature Receiver runs during deployment and cannot be debugged – Rob Windsor Sep 29 '11 at 14:50
Using System.Diagnostic.Break() will work perfectly on activating, or am I wrong here ? – Frederik P. Feb 14 '12 at 8:43

Also the dlls are deployed in GAC , so make sure change the settings. Follow this article

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.