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:
To add a global variable to a Monitored Expressions view, follow these steps:
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
