Method I:
- Go to “Debug” and select “Attach to Process”
- Make sure “Show processes in all sessions” checkbox is checked
- Select all “w3wp.exe” processes and click on “Attach” button
If it does not work,
- Go to “Debug” and select “Attach to Process”
- Click on “Select…”.”Select Code Type” window will appear
- Select “Debug these codes types” and check “Managed (v2.0, v1.1, v1.0)” only
Method II:
- Write “System.Diagnostics.Debugger.Launch()” in the code where you want to attach debugger
- When you run the code, a popup window will appear asking for attaching debugger.
- Click “Yes” and guide to appropriate instance of Visual Studio
Method III:
Use third party software like:
Fuente:
http://farhanfaiz.wordpress.com/2012/02/07/sharepoint-2010-debugging-visual-studio-2010/
No hay comentarios:
Publicar un comentario