Wednesday, March 20, 2013

Debugger tool

How to install debugger:

  1. Start Microsoft Dynamics AX Setup.Under Install,select Microsoft Dynamics AX components.
  2. Advance through the first wizard pages.
  3. If the Setup Support files have not yet been installed on this computer, the Select a file location page is displayed. The Setup Support files are required for installation. Provide a file location or accept the default location, and then click Next. On the Ready to install page, click Install.
  4. On the Select installation type page, click Custom installation, and then click Next.
  5. On the Select components page, select Debugger, and then click Next.
  6. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next.
  7. If you are installing on a 64-bit operating system, the Select a file location page is displayed. Select the location where you want to install 32-bit versions of Microsoft Dynamics AX files, and then click Next.
  8. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next.
  9. On the Ready to install page, click Install.
  10. After the installation is completed, click Finish to close the wizard.
How to enable debugger:

http://msdn.microsoft.com/EN-US/library/aa569665.aspx

Debugger Windows:



1.Variables window displays the values of the variables that are within the current scope. When the value of a variable has changed between stops, it is highlighted in a different color in the variables window to make it easy to identify the changes.
2.Call Stack window in the Microsoft Dynamics AX debugger displays the stack method calls. This lets you see which method called the one that is currently being shown. The Call Stack window displays only X++ code frames. No kernel code is shown.
3.The Watch window in the Microsoft Dynamics AX debugger displays a user-defined range of variables.
4.The Breakpoints window in the Microsoft Dynamics AX debugger displays an overview of the breakpoints that are set in:
  • The Microsoft Dynamics AX client
  • The Application Object Server (AOS)
  • Microsoft Dynamics AX Business Connector
5.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.

for more information:
http://msdn.microsoft.com/EN-US/library/aa569670.aspx

shortcut keys for debugger:

http://msdn.microsoft.com/EN-US/library/aa569646.aspx

Note: We have to find out all the breakpoints AOT>Forms>SysBreakpoints in Ax-2009

     

 

No comments:

Post a Comment

Enable/Disable form control based on multiple rows select

 class PurchTableFormEventHandler {      [FormDataSourceEventHandler(formDataSourceStr(PurchTable, PurchTable), FormDataSourceEventType::Act...