List Registers Command
Note
This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here
Displays the value of the selected registers and lets you modify the list of registers to show.
Syntax
Debug.ListRegisters [/Display [{register|registerGroup}...]] [/List]
[/Watch [{register|registerGroup}...]]
[/Unwatch [{register|registerGroup}...]]
Switches
/Display [{register
|registerGroup
}...]
Displays the values of the specified register
or registerGroup
. If no register
or registerGroup
is specified, the default list of registers is displayed. If no switch is specified, the behavior is the same. For example:
Debug.ListRegisters /Display eax
is equivalent to
Debug.ListRegisters eax
/List Displays all register groups in the list.
/Watch [{register
|registerGroup
}...]
Adds one or more register
or registerGroup
values to the list.
/Unwatch [{register
|registerGroup
}...]
Removes one or more register
or registerGroup
values from the list.
Remarks
The alias r
can be used in place of Debug.ListRegisters
.
Example
This example uses the Debug.ListRegisters
alias r
to display the values of the register group Flags
.
r /Display Flags
See Also
Visual Studio Commands Debugging Basics: Registers Window How to: Use the Registers Window