Technical ManualsRemote Debugging in AX

Remote Debugging in AX

Sana Commerce 9.3
Your connector

Configure Debugging in the Client

Step 1: Open the Microsoft Dynamics AX client and go to: Tools > Options.

Step 2: On the 'Development' tab in the 'Debug mode' dropdown select 'When Breakpoint' and click 'Apply'.

Step 3: Open the Microsoft Dynamics AX development environment and set the breakpoints.

Step 4: In the Microsoft Dynamics AX client launch the X++ debugger. It can be found at the following location: Tools > Developer tools > Debugger.

Step 5: Run the web service and the X++ debugger will stop running at the breakpoints.

 NOTE

For remote debugging the debugger must be started under Administrator role (permission) on the AOS server side and all breakpoints must be hardcoded using breakpoint syntax.

If the following steps have been performed correct then the X++ debugger will stop at the breakpoints when the service is invoked from a web service consumer.

Technical ManualsRemote Debugging in AX