To set a COBOL watchpoint in native COBOL code

Restriction: The following applies to native code only.

You can add COBOL watchpoints () in the source code in one of the following ways:

  1. To add a watchpoint from the editor, right-click a data item and select Add COBOL Watchpoint.

    This opens the Watchpoints (Native COBOL) window and adds the data item to it.

  2. Add a watchpoint from the Watchpoints (Native COBOL) window:
    1. To display the window, click Debug > Windows > COBOL Watchpoints.
    2. Click New.
    3. Type a data item in the field and press Enter.

      Click , , to enable, disable or delete watchpoints as necessary.