SharePoint 2010 create 自定义 timejob-2

How to debug a Custom Timer Job in Visual Studio?

Set Breakpoints in your code especially the Execute() method. Click on "Attach to Process..." from the menu bar as shown below:

Check the box at the bottom "Show Processes from All Users".

Select OWSTIMER.EXE

Click the Attach button and a breakpoint should display.


posted @ 2013-01-23 11:55  山之子  阅读(121)  评论(0编辑  收藏  举报