How to: Edit a Register Value

 

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

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

To change the value of a register

  1. In the Registers window, use the TAB key or the mouse to move the insertion point to the value you want to change. When you start to type, the cursor must be located in front of the value you want to overwrite.

  2. Type the new value.

    System_CAPS_ICON_caution.jpg Caution

    Changing register values (especially in the EIP and EBP registers) can affect program execution.

    System_CAPS_ICON_caution.jpg Caution

    Editing floating-point values can result in minor inaccuracies because of decimal-to-binary conversion of fractional components. Even a seemingly innocuous edit can result in changes to some of the least significant bits in a floating-point register.

How to: Use the Registers Window

Show: