Breakpoints and Suspends Pane (Magic xpi 4.9)
The Breakpoints and Suspends pane displays all the breakpoints and suspends that you create in your project. You open the Breakpoints and Suspends pane by clicking the Debug xpi menu, then selecting Windows and Breakpoints and Suspends. This pane contains the following information:
|
|
Name
|
The name of the step or flow where the breakpoint or suspend occurs. The following icons appear next to the name:
-
Indicates a breakpoint.
-
Indicates a suspend.
To delete entries, you can:
-
Select one or more check boxes next to the entries in this column and click to delete the entries.
-
Select the check box to the left of the Name column to select all of the entries.
-
Park on an entry and press Delete.
You can select an entry's check box and click to navigate to the step or flow where the breakpoint or suspend is set. This works with single rows only. Alternatively, you do this by double-clicking on an entry.
|
Type
|
This read-only field identifies the exact type of the breakpoint or suspend from the following options:
-
Breakpoint
-
Suspended Flow
-
Suspended Branch
-
Suspended Step
|
Condition
|
Within the Debugger, you can define a conditional breakpoint. The condition is evaluated each time the breakpoint is reached (if it is not suspended). If the condition evaluates to False, the breakpoint will behave as if the step is suspended.
Click to open the Expression Editor. Here, you can set the required condition. If you enter an invalid expression, Magic xpi will behave as if there was no condition for build purposes. The execution of the flow will not stop, and a warning will be added to the Checker's error list.
|
If a step has a condition set on it, as well as a breakpoint condition attached to the step, the step's condition is evaluated first and the breakpoint's condition is evaluated second. If the step's condition evaluates to False, the breakpoint's condition will not be reached.
|
If a condition is set for a breakpoint, you can also see it by hovering on the breakpoint indication on the Flow area.
|
|
-
All data in the Breakpoints and Suspends pane is saved immediately without the need for clicking Save.
-
If you change the sort order for any reason, you can return to the default sort order by clicking .
|