Add Expressions and
Variables to a Monitor
From the Source window, you can add a variable or
expression to a monitor, so that you can keep track of how the
variable's contents or the expression's value changes during
program execution. You can use any of the following methods:
- Position the pointer over the variable, click mouse
button 2 [note], and
select the monitor you want from the popup menu.
- Highlight the variable or expression, then select Monitors->Monitor
expression. A dialog opens containing the variable or
expression; select a monitor from there.
- Select Monitors->Monitor expression. In the
dialog, enter the variable or expression and choose a
monitor.
- Double-click on a variable to add it to the Program
monitor.

Supported C++ expressions