Set a Global Conditional Breakpoint
You can set global conditional breakpoints to be active for an entire program.
Follow these steps:
-
Select Window, Show Views, CA InterTest™ Debug.
The CA InterTest™ Debug view opens. -
Double-click the program to which you want to add breakpoints.
The program opens in the Program Listing area. -
Click the Add a Global Breakpoint icon in the Breakpoints view toolbar.
The Add Global Breakpoint dialog opens. -
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.
-
Select a variable from the Left Side drop-down list.
-
Select an operator from the Operator drop-down list.
-
Enter a literal or select a variable or constant from the Right Side drop-down list.
-
Check the Stop after execution box if you want the condition to be evaluated after the statement is executed.
-
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.