Set a Global Conditional Breakpoint

You can set global conditional breakpoints to be active for an entire program.

To add a conditional global 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.

  3. Click the Add a Global Breakpoint icon An icon for adding a global breakpoint in the Breakpoints view toolbar.

    The Add Global Breakpoint dialog opens.

  4. Select Conditional under the Breakpoint Type.

    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.

    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.


Copyright © 2016 CA. All rights reserved.