Modify Items in the Watch Data View
You can modify data in the Watch Data view using the following ways:
-
In-line editing
You can edit data in the hex value column for the variable, and in the display value column for elementary program variables. -
Data View Value dialog
Ensure that the Watch Data view is visible on the CA InterTest™ main window. If not, display the Watch Data view.
Note: If data monitoring is in effect then you will not be able to modify the data values when you navigate the trace table.
Modify the Value of a Variable In-line
Follow these steps:
-
Click the cell (hex or display column) you want to update for the item.
-
Overtype the existing value. Use the left and right arrow keys to position the cursor.
-
Press the tab key, Enter key, or click anywhere in the view to exit the cell.
After you depart the cell, the changes will be sent to the mainframe, and all related data views are updated.
Modify the Value of a Variable or Keyword Element
Follow these steps:
-
Double-click anywhere on row containing the variable or keyword element that you want to modify in the selected view. The corresponding dialog opens:
-
For elementary variables, the Data View Value dialog opens.
-
For variables that are arrays, the Data View Array dialog opens. Locate and double-click the array occurrence you want to modify. The Data View Value dialog for the selected array occurrence opens.
-
-
Select Hex value or Display value in the Data View Value dialog.
-
Enter the value in the relevant field.
-
Click OK to save the value and close the dialog.
If you are updating an array occurrence, you can select another occurrence to update. Otherwise, click OK to close the dialog.
The Watch Data view refreshes to display the modified value of the selected <variable>.
Modify the Value of an Expression or a Keyword DSECT
Follow these steps:
-
Double-click the expression or keyword DSECT.
The Memory Dump dialog opens with the current data for the expression or keyword loaded in the dump section of the dialog. -
Click the cell (hex or display column) you want to update.
-
Overtype the value.
-
Click Close to exit the dialog.\
The Watch Data view refreshes to display the modified values.
Note: You can also edit the value of an item using the Memory Dump dialog. Click the Memory Dump icon in the Watch Data view to open the Memory Dump dialog. Edit the value and click OK to save the updated value.