How to Troubleshoot/Debug the sharepoint code ?
- Open the code in VisualStudio 2010.
- Place the break points where ever necessary
- Under the Debug menu , Click Attach to process option
- Select all 'w3wp' processess from the window, if none of them are available, click the checkoh..ok
- boxes for Show processess from all users and Show processess in all sessions , click on refresh button if still not available.
- Click on Attach for all the processess selected.
- As soon as the process begins , Visual Studio will load symbols (for break points) and begin the debugging process
No comments:
Post a Comment