Debugging a COBOL
Program |
|
The Watch view displays data item values during debugging of a COBOL application.

|
Operation |
Description |
|
Add Data Item |
Enables the user to add a data item to the data items displayed by the Watch view. |
|
Change Value |
Enables the user to change the value of the selected data item. Double-clicking the data item performs the same operation. |
|
Suspend by Value Change |
Enables the user to specify whether program execution is interrupted when a data item value is changed. This can be specified for individual data items. |
|
Remove |
Enables the user to delete the selected data item from the Watch view data items. |
|
Remove All |
Enables the user to delete all data items from the Watch view data items. |
|
Show Data Type |
Enables the user to specify whether the Watch view displays data types as well as data names. |
|
Show Detail Pane |
Enables the user to specify whether to display the detail pane, which displays details regarding the selected data item such as program name, data type, value, and information regarding Suspend by Value Change status. |
Select [Add Data Item] from the context menu or toolbar to display the [Add
Data Item] dialog. To add a data item to the Watch view, specify a data name,
program name, and [Suspend by Value Change].
To add a data item defined for
a class method, specify "class-name:method-name" for the program name.

An alternative method of adding a data item to the Watch view is to double-click the item in the COBOL editor and select [Add to Watch View] from the context menu.

Data items can be added to the Watch view only during debugging. After debugging starts, a data item can be added to the Watch view while the debugging is interrupted, such as at a breakpoint.
|