sábado, 19 de maio de 2012

Debug your WSP assemblies using Vs2008 with Sharepoint 2007



When you can't debug your assemblies you definitely must go and check this Great Blog from Doug Ware!

http://www.elumenotion.com/Blog/Lists/Posts/Post.aspx?ID=23

Key points:

1 . No NEED to COPY PDB files to GAC!!!!!
2 .

"
Open Tools | Options.  -> Check Show all settings if needed and locate Enable Just My Code (Managed only) (UNCHECK it)

Attach to the w3wp.exe process for the instance you want to debug.

To verify that you attached the correct instance of w3wp.exe, open the Modules window by pressing CTRL-ALT-U.



"

You may need to define some Symbol paths, or even to recompile you project after these steps , to make sure everything is in sync!

Happy Debugging! :)

Sem comentários:

Enviar um comentário