Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Breakpoint and Marker Management
Breakpoints work in Enterprise Architect much like in any other debugger. Adding a breakpoint notifies the debugger to trap code execution at the point you have specified. When a breakpoint is encountered by a thread of the application being debugged, the source code is displayed in an editor window, and the line of code where the breakpoint occurred is highlighted.
Selecting a different package in the project affects which breakpoints are displayed. An Enterprise Architect model maintains breakpoints for every package having a Build Script - Debug command.
Access: Analyzer | Breakpoints & Markers
The Breakpoint and Markers Options:
Option |
Detail |
See also |
---|---|---|
Delete a breakpoint or marker |
To delete a specific breakpoint:
|
|
Delete all breakpoints |
Click on the Delete all breakpoints button on the Breakpoints & Markers window toolbar () |
|
Convert breakpoint to Start Recording marker or End Recording marker |
(For Visual Execution Analysis, when recording execution to generate a Sequence diagram) In the Breakpoints folder or the Breakpoints & Markers window, right-click on the breakpoint and select the context menu option to convert it to either a Start Recording marker or an End Recording marker |
|
Disable a breakpoint |
Deselect the checkbox against the breakpoint or marker, on the Breakpoints & Markers window The breakpoint is then shown as an empty grey circle |
|
Enable a breakpoint or marker |
Select the checkbox against the breakpoint or marker, on the Breakpoints & Markers window |
|
Disable all breakpoints |
Click on the Disable all breakpoints button in the Breakpoints & Markers window toolbar () |
|
Enable all breakpoints |
Click on the Enable all breakpoints button in the Breakpoints & Markers window toolbar () |
|
Change the stack depth |
Set the number of stack levels to record to, relative to the level at which recording starts |
|
Identify or change the marker set |
Check the field in the Breakpoints & Markers window toolbar If necessary, click on the drop down arrow and select a different marker set The Default set is normally used for debugging and is personal to your user ID; other marker sets are shared between all users within the model |
|
Change how breakpoints and markers are grouped on the Breakpoint & Markers window |
The breakpoints and markers can be grouped by Class or by code file To group the items, click on the down arrow on the icon in the toolbar, and click on the appropriate option If you do not want to group the items, click on the selected option to deselect it; the breakpoints and markers are line listed by line number |
|
Breakpoint States:
DEBUGGER STATE |
|||
---|---|---|---|
|
Running |
Not running |
See also |
Bound |
Enabled |
|
|
Disabled |
Disabled |
|
|
Not bound - this usually means that the DLL is not yet loaded or was not built with debug information |
N/a
|
|
|
Failed - this usually means a break could not be set at this time |
N/a |
Learn more: