Below are the steps for debugging code in AddIn project:
Right Click the AddIn project and go to Properties
In the Debug tab, under Start Action, select Start external program and set the WINWORD.exe process path. Shown in figure below
Save the project file
Set the breakpoint in code and press F5 to debug.
When it runs, MS Word will be opened and breakpoint will hit when it reaches location.
No comments:
Post a Comment