Skip to main content

Developing an Application

 

OutSystems

Breakpoints

A breakpoint in Service Studio marks an element where the execution of a thread is going to be suspended for debugging.

Breakpoints can be added to the following elements:

  • All elements of a process flow, except the Comment element;
  • All elements of a web screen flow, except the Comment element;
  • All elements of an action flow, except the Comment element;
  • All actions referenced by Timers;
  • All elements of a Web Service method.

While it is a common practice to add breakpoints before running a module, you may add or remove breakpoints anytime during a debug session.

The execution is also suspended on exceptions when the option "Break On All Exceptions" is set, even when no breakpoints are defined in the module.

Since breakpoints are stored in your user settings, they will be kept from one work session to another as long as you keep working in the same computer.

Add or Remove a Breakpoint

To add or remove a breakpoint in an element:

  1. Right-click on that element (either in the canvas or in the module tree);
  2. Select the "Add Breakpoint" or "Remove Breakpoint" option in the pop-up menu.

Or

  1. Click on that element to select it and press F8. This shortcut toggles between add/remove breakpoint.

The element where the breakpoint was set will show a small red circle.

You can remove all breakpoints at once by selecting the "Remove All Breakpoints" option in the Debugger menu or in the context menu displayed by right-clicking anywhere in the Breakpoints Tab area.

Disable a Breakpoint

To temporarily disable a breakpoint without removing it, do the following:

  1. Right-click on that element (either in the canvas or in the module tree);
  2. Select the "Disable Breakpoint" option in the pop-up menu.

Or

  1. Click on that element to select it and press Ctrl+F8. This shortcut toggles between enable/disable breakpoint.

Follow the same procedure to re-enable a breakpoint, selecting the "Enable Breakpoint" option.

You can also disable all breakpoints at once by selecting the "Disable All Breakpoints" option in the Debugger menu or in the context menu displayed by right-clicking anywhere in the Breakpoints Tab area.

  • Was this article helpful?