Debugging an iVend Retail - SAP Business One Integration Extensibility Add-on

Debugging an iVend Retail - SAP Business One Integration Extensibility Add-on

This article explains how to debug the Add-on build for customizing iVend Retail – SAP Business One Integration.

Following are the steps to debug an add-on, which is a process to identify a bug on runtime and debug it using Microsoft Visual Studio:

1. Stop the Integration Service.

To stop the Integration Service, right-click on iVend Configuration Manager in the Notification Area and click on Integration Service from Configure Service. It opens the Integration Service Configuration dialog box. Click the Stop  button.

2. Copy the add-on pdb file and paste it into the folder where the add-on files are deployed. Ensure that the pdb file timestamp MUST match to the add-on file.

Figure 1

3. Start the Integration Service.

To start the Integration Service, right-click on iVend Configuration Manager in the Notification Area and click on Integration Service from Configure Service. It opens the Integration Service Configuration dialog box. Click the Start  button.

4. Open the Attach to Process window in the add-on and select Show processes from all users.

                                                                                    Figure 2

 

5. Select the ReplicationSBOIntegrationWinSer.exe under the Available Processes and click the Attach button. 

6. Now place the breakpoint in the add-on code wherever the debugging is required.

 

Figure 3

7. ​Once you have placed the breakpoint, you will be able to debug the add-on code whenever it is executed.

Average (1 Vote)