The Microsoft Dynamics AX debugger is a
tool that communicates with the Microsoft Dynamics AX Client or the Microsoft
Dynamics AX Business Connector.
Use
this debugger to debug X++ code that is running on the following:
·
Microsoft Dynamics AX Business Connector
·
AOS
·
Microsoft Dynamics AX Client
Debugging
X++ code in the Business Connector is similar to debugging code that is running
on the client. The only difference between debugging on the Business Connector
and debugging on the client is that the Business Connector has no client
window. The client must be used to set the initial breakpoints.
How
to: Enable the Debugger
Enable the debugger
according to where the code is being executed on a client, a server, or the
Microsoft Dynamics AX Business Connector.
Enabling the debugger
on the Microsoft Dynamics AX client allows you to debug code that is run on the
client. You must first enable the debugger on the client before you enable it
on either Business Connector or Application Object Server (AOS).
- On the Tools menu, click Options.
Note
|
The debugger can be related to only one
instance of Microsoft Dynamics AX at a time. When you simultaneously debug
code on two different clients on the same computer, two instances of the
debugger are started.
|
Enable the debugger to
debug code that is run by Business Connector.
- Enable the debugger on the client, as shown in the
previous step.
- Open the Microsoft Dynamics AX Configuration Utility.
This is a stand-alone utility that manages client configurations:
- Click Control
Panel, double-click Administrative Tools, and then double-click Microsoft Dynamics AX
Configuration Utility.
- On the Developer tab, select the check boxes in the Settings area, as appropriate.
Enable the debugger to
debug code that is run by AOS.
- Enable the debugger on the client as shown in the
previous set of steps.
- On the computer that hosts AOS, open the Microsoft
Dynamics AX Server Configuration Utility, which is a stand-alone utility
that manages server configurations but not client configurations:
- Click Control
Panel, double-click Administrative Tools, and then double-click Microsoft Dynamics AX
Server Configuration Utility.
- On the Application
Object Server tab,
select the check box labeled Enable breakpoints to debug X++ code running
on this server.
No comments:
Post a Comment