### Debugger Monitors

Local Variables Monitor

The Local Variables monitor helps you monitor variables within the current scope of a Source window. This monitor is associated with a particular thread, and closes automatically when that thread terminates. There will be a separate Local Variables window for each thread. It is updated, after each Step or Run command, to show what variables are currently in scope, and what the contents of those variables are.

Popup Monitor

A Popup monitor displays a variable or expression you select for monitoring. This monitor is associated with a specific Source window and closes when the associated window closes. Each time you add a variable or expression to a Popup monitor, a new Popup monitor opens. The contents of each Popup monitor are updated after each Step or Run command (except for disabled variables or expressions within such windows).

Private Monitor

A Private monitor lets you monitor variables and expressions from a specific Source window. Private monitors help you keep track of local variables and expressions in programs with multiple compilation units. They are particularly useful in cases where the number of variables or expressions is large, or where variables with the same name appear in different compilation units.

Program Monitor

The Program Monitor shows variables and expressions from Source windows. This monitor is not associated with any particular Source window, and remains open until you close it directly or exit the debugger. Use it to monitor global variables or variables you want to see at all times during your debugging session.

Registers Monitor

The Registers monitor shows the contents of processor registers for a particular thread in your program. If you are debugging multiple threads, you can display a separate Registers monitor for each thread. Although all threads share the same set of registers, the operating system saves the register contents of each thread as the thread is suspended, and restores that thread's processor contents when the thread resumes.

Storage Monitor

The Storage monitor lets you view and update the contents of storage areas used by your program. You can specify a variable, array, class object (C++ only), expression, or storage address to view. You can also change the address range to view, modify the contents of storage and change the representation the debugger uses to display storage, for example, from hexadecimal to floating-point.

Add Expressions and Variables to a Monitor
Change the Contents of Storage, Variables, and Registers
Edit Variable Contents
Open a New Storage Monitor
View a Location in Storage
View Variable Contents
View Variables, Memory, Registers, and the Stack

Differences Between the Program and Private Monitors
Debugger Windows