Getting Started


Setting a breakpoint

One way to set a breakpoint is from Tools menu on the Program Editor.

Figure 63. Program Editor

Figure samplpr5 not displayed.

Assume that you want the test to be suspended when it reaches the GET-LIST function. To set a breakpoint on that function:

  1. In the Parts Browser, double-click on the SAMPLE program icon to open it in the Program Editor.
    Tip:If you don't see the program in the VAGen parts pane, select tutorial in the Packages/Applications pane
  2. From the Tools menu, select Set Testpoints>Part.

    The Set Part Testpoint window is displayed.

Figure 64. Set Part Testpoints

Figure setprttp not displayed.

To set a breakpoint at the GET-LIST function, perform the following steps:

  1. On the Set Part Testpoint window, type get-list and select OK.

    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:

Figure 65. Set Testpoints

Figure settest not displayed.

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:

  1. On the Set Testpoints window, select the Figure TSTPNTS1 not displayed.icon beside Breakpoint on part.

    The symbol changes to artwork.

  2. Select OK.
    Note:If you want to see indicators for testpoints you have set, from the Program Editor View menu, select Show Testpoint Indicators.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]