CA InterTest lets you monitor the value of program variables, keywords, and posted expressions in a program listing during a debug session. CA InterTest automatically updates the value of each item during a debug session when it encounters a session breakpoint. During the session break, you can update the value of any item in the Watch Data view.
The Watch Data view keeps track of the variables for each program listing as it runs to completion. When you start CA InterTest and initiate a subsequent debugging session, the Watch Data view restores the list of items from the previous session.
The Watch Data view displays all the attributes of the selected item in the Properties column. For each posted item, this view displays the following details in a tabular format:
Displays the names of variables, keywords, and posted expressions associated with the active program listing. The displayed items correspond to the source code statement at which the breakpoint occurred.
Shows the display value for the item during a debug session break. For program variables, the data description in the program dictates the format of the value. If the item is a keyword, posted expression or group item, there is no display value. The data description shows a message related to the item. If a debug session is not started then this field is blank.
Displays the hexadecimal EBCDIC (Electronic Binary Coded Decimal Interchange Code) representation of the value. The hex value and its length depend on the item declaration. If a debug session is not started then this field is blank.
Displays additional information about the item.
The items displayed in this view are dependent on the active program listing in the Program Listing area. If you want to add, delete, modify, or view the list of items for a program listing, you must highlight the program in the Program Listing area. The Watch Data view refreshes the list of items whenever a different program listing is activated.