View the Local Variables

Whenever a thread encounters a breakpoint, the Locals window displays all the local variables for the thread at its current stack frame.

When a Simulation is active, the Local Variables displayed will be the current variables defined within the Simulation context using Javascript.

Access     Analyzer | Locals, or
Analyzer |  Execution Analyzer: AnalyzerWindows | Locals

Locals window facilities

Facility

Detail

See also

Display Icons

The value and type of any in-scope variables are displayed in a tree; each variable has a colored box icon that identifies the type of variable:

Blue - Object with members
Green - Arrays
Pink - Elemental types
Yellow - Parameters
Red - Workbench instance
 

 

Item Context Menu

Option

Detail

 

Break When Variable is Modified

Set data breakpoints on the selected memory variable, to halt debugger execution at the line of code that has just caused the value of the variable to change.

 

Break When a Variable Changes Value

View Memory at Address

Display the raw values in memory at the selected address, in hex and ASCII.

 

Inspect Process Memory

Show in String Viewer

Display the variable string in the String Viewer dialog.

View Content Of Long Strings

 

Dump Variable Members to File

Capture and store the selected variables to a separate location; a browser displays to select the appropriate .txt file name and file path.

 

 

Save Snapshot of Variable

Capture the value of a variable at a specific point in the life of that variable.

 

Variable Snapshots

Compare Variable Snapshots

Compare the values of a variable at different points in the life of that variable.

 

Copy

Copy the selected variable to the Enterprise Architect clipboard.

 

 

Add Instance Run State to Diagram

If you have opened a model diagram containing an Object of the Class for which the source code is being debugged, this option updates that Object with the Run State represented by the variable value.

 

 

Set Conditional Breakpoint

Add a breakpoint at the current execution position with a constraint for this variable matching its current value.

 

Breakpoint Properties

Learn more

Learning Center topics

(Alt+F1) | Enterprise Architect | Build and Debug | Debug