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

View the Call Stack

The Call Stack window is used to display all currently running threads in a process.  It can be used  to identify which thread is operational immediately before program failure occurs.  A Stack trace is displayed whenever a thread is suspended, through one of the step actions or through encountering a breakpoint. The Call Stack can record a history of Stack changes along with the ability to generate Sequences Diagrams from this history.

Access:     Analyzer | Call Stack

Use To:

  • View Stack history to understand the execution of a process
  • View Threads
  • Save a Call Stack for later use
  • Record Call Stack changes for Sequence Diagram generation
  • Generate a Sequence Diagram from the Call Stack
  • View the related code line in Source Code Editor

Topics:

Topic

Icon

Detail

See also

Indicators


  • A green or yellow arrow highlights the current stack frame
  • A blue arrow indicates a thread that is running
  • A red arrow indicates a thread for which a stack trace history is being recorded

 

Actions

 

Toolbar Actions:

  • Save a Call Stack to file
  • Generate a Sequence diagram from the current Stack
  • Copy Stack to Recording History - adds the stack details to the Record History for Sequence Diagram generation
  • Toggle Stack Depth - show either the full Stack View or only frames with source
  • Double-clicking a thread/frame takes you to the related line of code in the Source Code Editor; local variables are also refreshed for the selected frame

Right-click on an items in the Stack list and select context menu options to:

  • Record Stack changes
  • Auto-Record
  • Stop the Recording
  • Generate a Sequence Diagram of the Stack
  • Copy Stack to Record History

 

Toolbar

Saveicon

Save Stack to file

 

seqicon

Generate Sequence diagram from Stack

Copystackicon

Copy Stack to recording history

VEA - StackToggle

Toggle Stack View

Stoprecordingicon

Stop recording

Learn More: