Thursday, July 8, 2021

How can you debug the plug-in code?

 The following steps are below:

1.      In the Replay Plug-in Execution dialog, on the Setup tab, in the Specify Assembly section, click the ellipses (…) button and choose the location of your BasicPlugin.dll

2.      In your Visual Studio project, set a break point in your plug-in class.

3.      In your Visual Studio project, select Debug < Attach to Process

4.      Select the PluginRegistration.exe process and click Attach

5.      In the Replay Plug-in Execution dialog, click Start Execution

6.      In your Visual Studio, you should see that the code is paused at the breakpoint you set earlier.

You can now step through your code to debug.

No comments:

Post a Comment

Featured Post

Construction Result Summary Jun-2019