How to: Use the Registers Window

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at View Register Values in the Debugger in Visual Studio.

The Registers window is available only if address-level debugging is enabled in the Options dialog box, Debugging node, General category.

The Registers window displays register contents. If you keep the Registers window open as you step through your program, you can see register values change as your code executes. Values that have changed recently are displayed in red. You can edit register values. For more information, see How to: Edit a Register Value.

To reduce clutter, the Registers window organizes registers into groups, which vary according to platform and processor type. You can display or hide groups as you want. For more information, see How to: Display and Hide Register Groups.

For a high-level introduction to concepts behind registers and the Registers window, see Debugging Basics: Registers Window.

System_CAPS_ICON_note.jpg Note

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Customizing Development Settings in Visual Studio.

To display the Registers window

  • On the Debug menu, choose Windows, and then choose Registers.

    The debugger must be running or in break mode.

    System_CAPS_ICON_note.jpg Note

    Register information is not available for script or SQL applications.

Debugging Basics: Registers Window
Viewing Data in the Debugger
Debugging Basics: Registers Window

Show: