SharePoint 2010 create 自定义 timejob2

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.


原文地址:https://www.cnblogs.com/ahghy/p/2872840.html