Set Unconditional Breakpoints

You can add unconditional breakpoints to statements within the source code section. You can only add breakpoints to executable statements. You cannot add a breakpoint to a comment statement or to a statement outside the source code section of the compiler.

To add an unconditional breakpoint for a statement

  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. Position the program using the Outline view, so that the line where you want to add the breakpoint is positioned in the Program Listing area.
  4. Select the line where you want to add the breakpoint.
  5. Right-click the ruler to the left of the line, and select Add 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.

    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.

To add an unconditional breakpoint with options for a statement

  1. Double-click the ruler to the left of the statement to receive the breakpoint.

    The Add a Line Breakpoint dialog opens.

  2. Complete the following fields in the Add a Line Breakpoint dialog to set a line unconditional breakpoint:
  3. Click Finish.


Copyright © 2016 CA. All rights reserved.