Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Contents |
Prev | Next |
Simulation Breakpoints
The 'Simulation Breakpoints' tab of the Breakpoints & Events window enables you to interrupt and inspect the simulation process.
When dynamically executing a simulation, the process will proceed automatically (in the Corporate and above editions) - if you want to stop execution at some point to examine variables, inspect call stacks or otherwise interact with the simulator, you can set a breakpoint on a model element in much the same was as you would with a line of source code. When the simulator reaches the breakpoint execution is halted and control returned to Enterprise Architect.
Access
Ribbon |
Simulate > Dynamic Simulation > Breakpoints > Simulation Breakpoints |
Breakpoints
The simulation executes the model step-by-step, enabling you to validate the logic of your behavior model; the simulation halts when it reaches an element defined as a breakpoint.
The UML elements that can be defined as breakpoints include: Actions, Activities, States and most other behavioral nodes (such as decision, initial, or final).
The UML relationships that can be defined as breakpoints include Interaction Messages.
The breakpoints are stored as Breakpoint Sets for a given Enterprise Architect project.
Elements that are included in a simulation and that have breakpoints are marked by a green circle off the top left corner of the element, whilst the simulation is in progress. If the simulation is not running, the green circles are not displayed.
When Javascript is enabled, all Simulation variables will be displayed in the Locals window - and it is possible to modify Simulation variables using the Simulation window's console input field (underneath the Toolbar).
Toolbar Buttons
Item |
Description |
See also |
---|---|---|
Enables all breakpoints defined in the current Breakpoint Set for the simulation session. |
||
Deletes all breakpoints defined in the current Breakpoint Set for the simulation session. |
||
Disables all breakpoints defined in the current Breakpoint Set for the simulation session. |
||
Adds a breakpoint for the selected element or Sequence message to the current Breakpoint Set. |
||
Changes the selected Breakpoint Set for use in the simulation session. |
||
Performs Breakpoint Set commands:
|
Learn more