Debug Global Variables

To debug a global variable, you must first add the global variable to a Monitored Expressions view or to a floating pane that shows the variable's runtime value.

To add a global variable to a floating pane, follow these steps:

  1. Click mouse button 2 over the variable. A popup menu appears.
  2. Select the object representing the variable, and from the cascading menu select Show Variable Value.

To add a global variable to a Monitored Expressions view, follow these steps:

  1. Click mouse button 2 over the variable. A popup menu appears.
  2. Select the object representing the variable, and from the cascading menu select Add to Expression Monitor

Once the global variable is visible in a floating pane or a Monitored Expressions view, you can edit its contents or change its representation. If the variable is a compound variable such as a class object or an array, you can also change the level of detail shown for the variable, by clicking on the expander by the variable name and any expanders of subparts.



Add a Variable to the Monitored Expressions View
Change the Contents of a Variable
Change the Representation of a Variable