Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Watch Window [AX 2012]

Updated: December 29, 2010

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

The Watch window in the Microsoft Dynamics AX debugger displays a user-defined range of variables. Choose the names of the variables that you want to appear in this window by entering the variable names or by dragging a variable from the Variables window or from the code window into the Watch window.

As you step through code in the debugger, when a variables changes, it is highlighted in a different color in the Watch window.

It is possible to modify the value of a variable in the Watch window. If a single line contains a compound object, you can click the plus sign (+) to expand it.

NoteNote

Microsoft Dynamics AX must be in break mode for you to modify variable values. Also, the maximum tooltip length for these values is 1,024 characters. Anything longer than this is truncated.

To clear watch variables, use these menu options in the shortcut menu of the Watch window:

  • Clear Current Watch

    This deletes all the watch variables from the currently focused watch view.

  • Clear All Watches

    This removes all watch variables from all of the watch views, regardless of focus.


Announcements: New book: "Inside Microsoft Dynamics AX 2012 R3" now available. Get your copy at the MS Press Store.

Community Additions

ADD
Show:
© 2015 Microsoft