You can view the contents of a register from the Registers
view, the Monitors view, or the Memory view. In these views, you can
observe and change the contents of registers in the current thread
of your program. In the Registers view, the registers are categorized,
so you only need to expand the category of registers that you want
to view.
View the contents of a register in the Registers view
Procedure
In the Debug view, select the thread, or the thread's stack
frame, for which you want to view the registers.
In the Registers view, expand the register group that you
want to view.
If necessary, use the scroll bars or PageUp and PageDown
keys to scroll the Registers view until the register is visible.
Note: If you are in the Registers view and want to copy a value,
you must put it into edit mode before you can copy it. To edit a value
in the Registers view, double-click on it or right click it and choose Change
Value from the menu. Either action will open the Set Value
dialog box from which you can copy the value of the register.
Tip: To improve performance, collapse register groups that
you are not using or editing.
Register values can be changed
in the Registers view by performing these steps:
Right-click the register that you want to edit and select Change
Value from the pop-up menu.
In the resulting dialog, change the variable value.
Click OK. To indicate that the register
value has changed, its indicator will have a delta symbol next to
it.
Attention: To complete the dialog, you must click OK rather
than the keyboard Enter key. Selecting the keyboard Enter key will
insert a new line in the register value.
View the contents of a register you have already added to the
Monitors view
Procedure
If necessary, use the scroll bars or PageUp and PageDown
keys to scroll the Monitors view until the register is visible.
If you want, change the representation of the register:
right-click on the variable and select Change representation from
the pop-up menu. Then select the representation that you want from
the resulting pop-up selection.
View the contents of a register you have already added to a
memory monitor in the Memory view
Procedure
If necessary, use the scroll bars or PageUp and PageDown
keys to scroll the memory monitor until the register's address is
visible.