How to: Edit a Register Value
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
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
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.
Type the new value.
Caution
Changing register values (especially in the EIP and EBP registers) can affect program execution.
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.