### View the Contents of Registers

You may want to view the contents of a single register, or of many registers at once.

View Contents of a Single Register

If you only want to view the contents of a small number of registers, enter the names of those registers as expressions in a Monitor Expression dialog and select what monitor you want them to appear in. For example, if you want to monitor the EAX register on an Intel machine, do the following:

1. From a Source window, select Monitors->Monitor expression from the menu bar, or press the Ctrl+M accelerator key, to open a Monitor expression dialog.
2. Enter the register name as the expression (EAX)
3. Choose what monitor you want the expression to appear in. Do not choose the storage monitor.
4. Click on the OK button or press Enter.

The register is displayed in the monitor you selected. Note that if the name of the register corresponds to the name of a variable in your program, the variable may be displayed instead of the register depending on the monitor you choose, the current scope, and the scope of the variable.

View Contents of Many Registers at Once

If you want to open a monitor showing the contents of all or most processor registers, do the following:

1. Raise a Source window or the Session Control window
2. Select Monitors->Registers or click on the pushbutton.
3. A Registers Monitor displays the contents of processor registers for the current thread.

Add Expressions and Variables to a Monitor
Change the Contents of Registers
Change Which Registers Are Displayed
Change the Layout of the Registers Monitor

Debugger Monitors