View register values in the Registers window (C#, C++, Visual Basic, F#)

The Registers window displays register contents during Visual Studio debugging. For a high-level introduction to concepts behind registers and the Registers window, see Debugging basics: Registers window.

Note

Register information is not available for script or SQL apps.

During debugging, register values change as code executes in your app. Values that have changed recently appear in red in the Registers window.

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

For info on the flags you see in the Registers window, see About the Registers window

In C++ code, you can also edit register values. For more information, see How to: Edit a register value.

To open the Registers window

  1. Enable address-level debugging, by selecting Enable address-level debugging in Tools (or Debug) > Options > Debugging.

  2. While debugging is running or at a breakpoint, select Debug > Windows > Registers, or press Alt+5.

Note

Dialog boxes and menu commands might differ depending on your Visual Studio edition or settings. To change your settings, select Import and Export Settings on the Visual Studio Tools menu. For more information, see Reset all settings.