Allow debugging


This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

This topic describes how to enable debugging on an instance of Microsoft Dynamics AX Application Object Server (AOS).

  1. Open the server configuration utility. Click Start > Administrative Tools > Microsoft Dynamics AX 2012 Server Configuration.

  2. Verify that the AOS instance and configuration that you want to modify are selected.

  3. On the Application Object Server tab, click Enable breakpoints to debug X++ code running on this server. When this option is enabled, clients can trace their interactions with the AOS instance.

  4. Click Enable global breakpoints. When this option is enabled, clients can debug X++ code that is invoked by using Query Services. For more information about this option, see Microsoft Dynamics AX 2012 Server Configuration (form).

  5. Click OK.

See also

Debugging in Microsoft Dynamics AX 2012

Enable debugging in Microsoft Dynamics AX clients