Generate the Sequence Diagram

Once you have built up a stack trace history using breakpoints, you can create a Sequence diagram from your results. To do this, click on the Generate Sequence Diagram button (Debug_CreateSequenceDiagram) on the Debug Toolbar. The Generate Sequence Diagram dialog displays.

Generate Sequence Diagrams Dialog

The dialog also displays automatically at the end of a debug recording session, when a thread you are recording terminates or the program finishes.

Complete the fields as follows:

Option

Use to

Name

Type in the diagram name; this field defaults to the name of the State Machine.

Include state information if available

Include any State transitions detected during the debug run in the Sequence diagram produced.

The checkbox is enabled only if the State Transitions option has been enabled for the Package Script prior to debugging.

Highlight invalid transitions

Mark with a red border any state transitions detected that are illegal for the State Machine.

The checkbox is enabled only if Include state information if available is selected.

Click on the OK button. Your diagram and related artifacts are placed in an interaction under the package that is running your debug session.

net_1_sequence_diagram

Debug Toolbar Commands

Debug_CreateSequenceDiagram

Create Sequence Diagram.

Debug_SaveHistory

Save recorded history to HTML file for viewing in browser.