How to: Edit a Register Value
This topic applies to:
Visual Studio Edition |
Visual Basic |
C# |
C++ |
J# |
Express |
No |
No |
Yes |
No |
Standard |
Yes |
Yes |
Yes |
|
Pro/Team |
Yes |
Yes |
Yes |
The Registers window is available only if address-level debugging is enabled 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.