Debug Sharepoint 2010 Webparts
Debugging SharePoint 2010 WebParts is easy. Since the webpart is being deployed from the VS, you can easily attach the .net w3wp.exe process and set the breakpoints.
You would then need to refresh the page so that webPart loads in.
Tip - If you need to debug some changes that you made in the webPart and does not want re-deploy the whole soultion, Just drang and drop the assembly in GAC (dont forget to uninstall the old one first) and recycle the iis application pool for the web applicaltion.
I will attach the screenshots soon.
You would then need to refresh the page so that webPart loads in.
Tip - If you need to debug some changes that you made in the webPart and does not want re-deploy the whole soultion, Just drang and drop the assembly in GAC (dont forget to uninstall the old one first) and recycle the iis application pool for the web applicaltion.
I will attach the screenshots soon.
0 comments:
Post a Comment