Variables View
Display information on local variables for the selected stack frame.
Menu
Window
> Show View
> Variables
Toolbar

The
Variables
view displays an expandable tree structure of local variables associated with the stack frame selected in the Debug
view. Alternatively, you can display the value of a particular local variable by hovering over its instance in code. You can see details on a selected variable on the bottom of the Variables
view.NOTE
: If the debugger cannot display the value of a particular variable and sets it to N\A
, refer to the corresponding case described in the Troubleshooting section.During a debug session, you can change values of variables to check how they are handled or to go through a loop faster. To do it, right-click a variable, select
Change Value
, and type in a new value.To disable a variable and prevent the debugger from reading it, right-click a variable and select
Disable
. It might be useful if a target is very sensitive.View Toolbar Options
You can interact with the
Variables
view using the following buttons:- Displays the logical structure of variables.
- Collapses all currently expanded variable instances in the view.
- Opens a newVariablesview.
- Pins the variable to the associated debug context.
- Provides the following configuration options: +
- Layout: sets an alternative layout for the view.