I recently installed a trial of .net reflector and decompiled sharepoint. Now, when I step through code that calls any sharepoint methods, VS steps through the sharepoint code as well. How do I turn this off so that VS will only step through my project code?

I have already deactivated .net reflector in VS.
robbertv
0

Comments

3 comments

  • Clive Tong
    In order to step through non-project assemblies, Reflector Pro changes the setting "Just My Code" which you can find under Tools/Options Debugging/General "Enable Just My Code". To just debug just your project code, this option needs to be checked.
    Clive Tong
    0
  • robbertv
    That did not work. I checked the box but Visual Studio is still stepping through the SharePoint code. Any other suggestions?
    robbertv
    0
  • Clive Tong
    When you say, "step through", do you mean it displays code that was previously generated by Reflector Pro?

    If so, then you need to clear the Reflector Pro cache - you'd normally do this using the "Clear store" button on the "Choose assemblies to debug..." dialog.

    You can do the equivalent by:

    (i) clearing the directories under C:\Users\clive.tong\AppData\Local\Red Gate\.NET Reflector 6

    (ii) clearing the symbol search path by going to Tools/Options... Debugging/Symbols and deleting any symbol file locations that point to these directories.
    Clive Tong
    0

Add comment

Please sign in to leave a comment.