Use the Program monitor to collect variables or expressions that you want to monitor. This monitor is not associated with any specific Source window, and is always displayed unless you specifically close it. It is similar to the Private monitor.
From within the Program monitor, you can select one or more expressions or variables, and access a popup menu to apply changes to them. For example, you can delete an expression from the monitor, change its representation, or edit its contents.
Expressions and variables that have a "+" on their left can be expanded, and those with a "-" can be collapsed. Arrays and C++ class objects, for example, are displayed by default in expanded format, with entries both for the array and for elements within it. To expand a collapsed list, or to collapse the list of elements, double-click on the "+" or "-", or place the cursor on that line and press the Enter key.
Pointers are displayed with a ">" on their left. You can change an array or class object to pointer representation by dereferencing it. You can display the value of the pointer, or the start of the memory it points to, by choosing a different representation for it.
![]()
Add Expressions and Variables to
a Monitor
View Variable Contents
Edit Variable Contents