Output Window
Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
The Output window in the Microsoft Dynamics AX debugger has separate views that display text written to the window from X++ code and kernel code. These views organize the information that is sent to the Output window. The Output window has the following views:
Debug – Shows information from calls to the Debug class.
Infolog – Shows text that is sent to the Infolog from either kernel code or X++ code.
Database – Shows trace text that is sent to the Output window from the kernel. To have information sent to this view, you must first enable the Database trace in Microsoft Dynamics AX.
To enable the Database trace:
Click Tools > Options.
Click Development.
Select the Database trace check box.
Client/Server – Shows trace text that is sent to the Output window from the kernel. To have information sent to this view, you must first enable the Client/server trace in Microsoft Dynamics AX.
To enable the Client/server trace:
Click Tools > Options.
Click Development.
Select the Client/server trace check box.
ActiveX – Shows trace text that is sent to the Output window from the kernel. To have information sent to this view, you must first enable the ActiveX trace in Microsoft Dynamics AX.
To enable the ActiveX trace:
Click Tools > Options.
Click the Development tab.
Select the ActiveX trace check box.
The Debug class has the following methods that write content to the views of the Output window:
Debug::printDebug — Starts the debugger and displays output text on the Debug view of the Output window.
Debug::printTab — Prints text to the view that is specified in the arguments given in the method call.
See also
Microsoft Dynamics AX Debugger
Announcements: New book: "Inside Microsoft Dynamics AX 2012 R3" now available. Get your copy at the MS Press Store.