Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Recording Activity For a Class

In addition to setting breakpoints and markers in the code editor, or creating a marker set through the Breakpoints & Events window, you can record all the operations of a Class or a subset using the Class Markup Selection dialog to create a marker set of record markers for those operations. These marker sets are also available to all users of the model.

Access    Project Browser Class context menu | Execution Analyzer | Markup Class For Recording

Reference

Field

Usage

See also

Existing marker set

Select to change the operations, marker types or stack depth of an existing marker set.

 

 

New marker set

Select to create a new marker set.

 

 

Name

Type the name of the marker set to create or edit.

 

 

Operation check boxes

All checkboxes default to selected; click on the checkbox against each operation that you do not want to record.

Click again on the checkbox against any excluded operation that you do now want to record, to re-select it.

 

 

Include disabled operations

Select this option to set a recording marker against all operations, but disable all those that you have not specifically selected above.

In the Breakpoints & Events window, you can then enable these markers individually or as a whole, rather than enabling them by editing the marker set.

 

 

 
Working with Marker Sets

Marker Type

Click on the drop-down arrow and select the type of marker to set against each of the selected operations.

The marker type specifies the action to take when the process encounters that marker on each operation:

Record function
Record stack trace
Break execution

 

Marker Types

Limit recording frame depth

Set the stack depth to limit the recording, to avoid ultimately producing Sequence diagrams that are too complicated to read.

 

Control Stack Depth

OK

Click to store the marker set under the name you have specified; the set can then be loaded either before or during a session, from the Breakpoint & Markers window toolbar.

 

Breakpoint and Marker Management

Learning Center topics

(Alt+F1) | Execution Analysis | Recording Execution | Automated Set Creation