Sequence diagrams are a superb aid to understanding behavior. Class collaboration diagrams also can be helpful. In addition to these sometimes a call graph is just what we need. Then again, if you have this information available, you could use it to document a Use Case and why not build a Test domain while you are at it. The Enterprise Architect Analyzer can generate all of these for you and from a single recording. It does this by recording a running program, and it works on all of the most popular platforms.

Access Analyzer | Recorder


At its simplest, a Sequence Diagram can be produced in very few steps using even a brand new model. You do not even have to configure an Analyzer Script. Open the Enterprise Architect code editor (Ctrl+Shift+O), place a recording marker in a function of your choice, and then attach the Enterprise Architect debugger to a program running that code. Any time that function is called, its behavior will be captured to form a recording history. From this history these diagrams can be easily created.

The Sequence diagram from the Example Model recording.

The Class collaboration diagram from the same recording.

The Test Domain diagram from the same recording.

Of course an Analyzer Script is still the best idea, and opens up an incredibly rich development environment, but it is worth noting that significant results can be obtained without one. This is also true of the Enterprise Architect Debugger and Profiler tools.

A point of interest: you can view a thread's behavior while it is recorded. Showing the call stack during a recording will show updates to a thread's stack in real-time, much like an animation. It is a good feedback tool and in some circumstances it might be all that is required.

Features at a glance:

Diagram Generation

  • Sequence Diagram
  • Class collaboration diagram
  • Test domain diagram
  • State Transition capture
  • Call graph


  • Support multi-threaded and single-threaded models
  • Support stack depth control
  • Support filters to restrict capture
  • Filter wildcard support
  • Real-time stack update


  • Class Model
  • Test Domain
  • State Machine
  • Executable State Machines
  • Unit Tests


  • Microsoft .NET 
  • Microsoft Native
  • Java
  • PHP
  • GDB
  • Android


  • Recording is available to users of all editions of Enterprise Architect except the Desktop edition


  • The debug and record features of the Visual Execution Analyzer are not supported for the Java server platform 'Weblogic' from Oracle

Learning Center topics

  • Alt+F1 | Enterprise Architect | Execution Analysis | C++/Native Samples | C++ Recording 1
  • Alt+F1 | Enterprise Architect | Execution Analysis | C++/Native Samples | C++ Recording 2
  • Alt+F1 | Enterprise Architect | Execution Analysis | C++/Native Samples | C++ Recording 3