Set a Line Conditional Breakpoint

You can set line conditional breakpoints at executable statements in an active program listing.

To set a line conditional breakpoint

  1. Select Window, Show Views, InterTest Debug.

    The InterTest Debug view opens.

  2. Double-click the program to which you want to add breakpoints.

    The program opens in the Program Listing area.

    Position the program by clicking PROCEDURE DIVISION in the Outline view.

    Note: If the Outline view is not visible on the CA InterTest main window, select Window, Show Views, Outline.

  3. Right-click the ruler to the left of the statement, and then select Configure Breakpoint. If the statement is a comment or a programming structure element (for example Procedure Division) then the breakpoint will apply to the first valid statement PRIOR to the statement being selected.

    The Add a Line Breakpoint dialog opens.

  4. Select the Conditional option to display the parameters for a conditional breakpoint.

    Note: The conditional parameters section varies for batch and CICS projects. For more information on setting conditional breakpoints for a batch project, see Set a conditional breakpoint for a batch project. For more information on setting conditional breakpoints for a CICS project, see Set a conditional breakpoint for a CICS project.

  5. Select a variable from the Left Side drop-down list.
  6. Select an operator from the Operator drop-down list.
  7. Enter a literal or select a variable or constant from the Right Side drop-down list.
  8. Check the Stop after execution box if you want the condition to be evaluated after the statement is executed.
  9. Click Finish to set the conditional breakpoint.

    In the Program Listing area, a blue circle appears next to the statement in the left ruler. A dark-blue mark appears in the ruler to the right of the scroll bar. This indicates that a new breakpoint is set at the selected statement.

    CA InterTest saves the changes and closes the dialog. After you add the breakpoint to your program, the Breakpoints views displays the details of the new breakpoint.

More information:

Breakpoints View


Copyright © 2016 CA. All rights reserved.