Sdílet prostřednictvím


List Registers Command

Displays the value of the selected registers and lets you modify the list of registers to show.

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

Tasks

How to: Use the Registers Window

Reference

Visual Studio Commands with Arguments

Concepts

Debugging Basics: Registers Window