How can we debug a SharePoint Application or a SharePoint Timer Job

The steps to be followed to debug are as follows:
  1. Build and deploy the application
  2. Set the breakpoint in application
  3. Open up the Debug menu and view all the processes that are running
  4. For SharePoint Applications attach the process "w3wp.exe" and for SharePoint Timer job attach the process "OWSTIMER.exe"
  5. For SharePoint Application just refresh the application and for the timer jobs just run the job from the list

Comments

Popular posts from this blog

What is the difference between a Page Layout and Master Page in SharePoint?

Accessing data from SharePoint 2010 to an ASP.NET application

What is the difference between DDL, DML and DCL?