In Service Studio, a Breakpoint marks the eSpace element where the execution of a request is going to be suspended for debugging.

Adding Breakpoints

To add a breakpoint to an eSpace element simply right-click on that element (either in the canvas or in the eSpace tree) and select the Add Debug Breakpoint option in the pop up menu. All breakpoints added to the eSpace are alphabetically listed in the Breakpoints Tab on the Debugger Tab.

Double-clicking on a breakpoint, in the Breakpoints Tab, displays and selects the eSpace element with the breakpoint on the canvas.

Breakpoints can be added to the following eSpace elements:

 Breakpoints are not stored in the eSpace oml (Stands for: OutSystems Markup Language); they are, however, stored in your user settings. So, if you work on the same computer, you'll keep the breakpoints of an eSpace from one work session to another.

Removing Breakpoints

To remove a breakpoint from an eSpace element, simply right-click on that element (in the canvas or in the eSpace tree), and select the Remove Debug Breakpoint option in the pop up menu. Alternatively, you may remove a breakpoint in the Breakpoints Tab also by right-clicking on it and selecting the Remove Debug Breakpoint option in the pop up menu.

To Remove All breakpoints from your eSpace use the Remove All Breakpoints option which is available in the Debug menu or, alternatively, in the pop up menu when you right-click on the Breakpoints Tab. After deleting all breakpoint from your eSpace, no new requests will be suspended, as well as the ones still suspended on which you execute the   Continue Request command.

Debugging with Breakpoints

When the Debugger is started for an eSpace, all requests have their execution suspended whenever they run into a breakpoint in the eSpace. You should add your breakpoints before running the eSpace. However, during the debug session, you may add new breakpoints, or remove the ones that are no longer needed.

To advance from one breakpoint to another (skipping the trace of the elements in-between) use the Continue Request debugger command.

See Also

Debug an eSpace | Debugger Tab | Debugger Toolbar | About Requests | Analyzing the Scope Tabs | About Watches