Share this page

# Debug scripts with breakpoints

The following describes how to work with breakpoints.

To | Do this
--- | ---
Add/Remove a breakpoint | Locate the cursor in the script where you want to insert the breakpoint and then do one of the following: Select Replay > Toggle Breakpoint. Press F9. Click in the left margin if the script, adjacent to where you want to insert the breakpoint. Add: The Breakpoint symbol () appears in the left margin of the script, and the line in the script is highlighted. Remove: The Breakpoint symbol () is removed from the left margin of the script.
Enable/Disable a breakpoint | Click View > Debug > Breakpoints to display the Breakpoints pane. Clear the appropriate Enabled checkbox to disable a breakpoint. The Disabled Breakpoint symbol () appears in the left margin of the script. Select the Enabled checkbox for the breakpoint. The Breakpoint symbol () appears in the left margin of the script. When a breakpoint is disabled, script execution continues at the disabled breakpoint and is paused at the following enabled breakpoint.
Manage breakpoints | The Breakpoints pane allows you to remove, enable, and disable breakpoints in a Vuser script. For user interface details, see Breakpoints pane.
Navigate to a specific breakpoint in a Vuser script | In the Breakpoints pane, select the specific breakpoint to which you want to navigate, and then click the Go to source button . In the Breakpoints pane, double-click the breakpoint to which you want to navigate. The cursor flashes in the Editor at the start of the line containing the breakpoint.
Run a script with breakpoints | Begin running the script as usual. Script execution is paused when it reaches a breakpoint. You can examine the effects of the script run up to the breakpoint, make any necessary changes, and then restart the script from the breakpoint. To resume execution, select Replay > Run. Once restarted, the script continues until it encounters another breakpoint or the end of the script.

Back to top

See also:

- Overview: Use breakpoints.

https://admhelp.microfocus.com VuGen,Professional Performance Engineering,Performance Engineering for Developers 8942
Tips to improve your search results... OpenText™ Virtual User Generator Help Center OpenText™ VuGen Help 25.1-25.3 All View Local Help Center View Online Help Center Version: