Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
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: | 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:
|
|
|||||||||||
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.
|
||||||||||||
View Memory at Address |
Display the raw values in memory at the selected address, in hex and ASCII.
|
||||||||||||
Show in String Viewer |
Display the variable string in the String Viewer dialog. |
|
|||||||||||
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.
|
||||||||||||
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.
|
Learn more
Learning Center topics
• | (Alt+F1) | Build and Debug | Debug |