Changing the contents of a variable

To change the contents of a variable in the Variables view:

  1. Select the variable whose value you want to modify.
  2. If necessary, expand the variable to show its individual elements.
  3. Scroll down to the variable you want to change and do one of the following:
    • Double-click on the variable or variable element.
    • Right click the variable or variable element, and choose Change Value from the pop-up menu.
    Note: If you select a variable for editing and its value field cannot be edited, the variable is a type that cannot be modified.
  4. In the Set Value dialog box, enter a new value for the variable or variable element and click OK.
  5. To indicate that the variable value has changed, the variable name and its value change to a red color (or to the color that is set in the Debug Variable Views preferences Changed variable value color - by default, this color is set to red).
Alternatively, you can change the contents of a variable in the Details Pane. To do this, change the value in the Details Pane and then press Ctrl+S to save the value.
Related tasks
Inspecting variables
Terms of use | Feedback
(C) Copyright IBM Corporation 2003, 2005. All Rights Reserved.