Shortcut key: CTRL+F9
The Modify Variable command displays a dialog box that modifies variables or expressions in the Watch window.
·To modify the value of a variable:
1.From the Debug menu, choose Modify Variable.
2.Type the variable name or expression in the Variable text box.
3.Type a new value or expression in the New Value text box.
4.Choose OK.
To change the value of a structure or array, modify the individual fields or elements. You cannot change an entire array or structure at once.
Related Commands
Debug menu: Quickwatch Window menu: Locals
See Also
Using Watch Expressions, page 43