Wednesday 2 July 2014

How to Debug a Web Part for SharePoint

Attach process
 
1:build application and place .dll into gac and reset iis
2:In the MS VS On the Debug menu, select Attach to Process
Select “Debug these code types”
Select “Manage,Native,T-SQL”
3:select the Show processes from all users check box.
4:select W3W.exe and OSWTIMER.exe can attach
5:refresh sharepoint site point break point