Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I've set a break point in my feature receiver, but symbols never load and break points never met, what can I do to resolve this?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

Are your symbols available? You might need to copy the PDB file to the GAC. Here are some articles on the subject: http://blogs.msdn.com/b/markarend/archive/2008/09/09/debugging-web-parts-and-other-sharepoint-custom-code.aspx

You also might want to try inserting a line of code that pops up a window asking if you want to debug it. From http://underthehood.ironworks.com/2010/10/debugging-sharepoint-feature-receivers-the-easy-way.html:

share|improve this answer
+1 Great links!!! –  Tobi Jan 26 '11 at 13:04

Hi did you copy the pdb files to the GAC-directory where your assembly lies? To do this, use TotalCommander or CommandPrompt to navigate to

c:\windows\assembly\GAC_MSIL[Name of your assemlby][Version]\

there should be the .dll. Now copy the according .pdb from your debug build, reset IIS (or recycle AppPool), open a page of your site (to restart w3wp), attach to w3wp with visual studio (ctrl+Alt+P) and activate your feature again...should work now ;-)

ah, one minute too late....anyway ;)

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.