Monday 2 March 2015

Debugging timer job in sharepoint 2010


  • In General, we used to add "w3wp.exe" to debug code in sharepoint. Even if you attach this process to debugger, debugger can not hit your break-point in case of Timer jobs.
  • In this case, attach "OWSTimer.exe". Put a break point under  "Execute" method.

  • If you cant able to debug properly, Go to "Run" prompt and type "Services.msc". Please restart "Sharepoint 2010 Timer" service.

No comments:

Post a Comment