|
|
|
|
|
This view displays the expressions being monitored for the project. Expressions can include variables, objects, and non-lvalue expressions such as statements within your program.
If the view pertains to a project, and multiple processes are running under debug control within the project, each expression expands to indicate its value for each running process. If the view pertains to a particular process, no process identifier is shown.
If a given process contains multiple instances of the variable (for example, if the variable is used in a function that is called recursively), each instance is shown below the process entry, with its stack frame address.
Expressions such as arrays and compound objects expand further to display their contents.
You can change the representation of a value by clicking on the arrow to its right and choosing a new representation. You can select a value with mouse button 1 and change its contents.
If you want to monitor a particular block of storage after the pointer that allocated it has passed out of scope, you should use the Monitored values view instead. You can add a value to the Monitored values view from the Monitored expressions view by clicking mouse button 2 over the expander to the left of the expression, and choosing Add to Value Monitor.
![]()
You can also set a watchpoint on
the storage used by an expression in a given process, so that execution stops when the
storage is written to, by clicking mouse button 2 over the expander and choosing Set
Watchpoint.
If you want help on another aspect of the IDE interface, more IDE interface help is available.
![]()
Add a Variable to the Monitored Values View
Change the Contents of a Variable
Change the Representation of a Variable
![]()
Set a Watchpoint
