One way to set a breakpoint is from Tools menu on the Program Editor.
Assume that you want the test to be suspended when it reaches the GET-LIST function. To set a breakpoint on that function:
Tip: | If you don't see the program in the VAGen parts pane, select tutorial in the Packages/Applications pane |
The Set Part Testpoint window is displayed.
Figure 64. Set Part Testpoints
To set a breakpoint at the GET-LIST function, perform the following steps:
The Set Testpoints window is displayed.
On the Set Testpoints window, you define testpoints for the components of your program. For a function, you can set the following types of testpoints:
Qualifications can be set on any or all of these testpoints. You can set certain conditions which must be true for the testpoint to take effect.
To set a breakpoint on the function GET-LIST, perform the following steps:
The symbol changes to
.
Note: | If you want to see indicators for testpoints you have set, from the Program Editor View menu, select Show Testpoint Indicators. |