UML sequence diagram overview

Runtime Tracing for C, C++ and Java

The lifeline of an object is represented in the UML/SD Viewer as shown below.

The instance creation box displays the name of the instance. For more information about UML sequence diagrams, see the UML sequence diagram reference.

Example

Below is an example of object lifelines generated by Runtime Tracing from a C++ application.

In this C++ example:

To jump to the corresponding portion of source code:

  1. Double-click an element of the object lifeline to open the Text Editor at the corresponding line in the source code.

To jump to the beginning or to the end of an instance:

  1. Right-click an element of the object lifeline.

  2. Select Go to Head or Go to Destruction in the pop-up menu.

To filter an instance out of the UML sequence diagram:

  1. Right-click an element of the object lifeline.

  2. Select Filter instance in the pop-up menu.

Related Topics

UML sequence diagram reference | Model Elements and Relationships in Sequence Diagrams