Variables View


This view displays information about the variables in the currently-selected stack frame.

The Variables View, shown with columns.

Variables View with columns

Following are the commands available in the Variables View.

Variables View Commands

Command

Name

Description

Availability

Change Value Change Value... Allows you to change the value for the underlying selected variable. Context menu
Collapse All Collapse All Collapses all the the currently expanded variables. View action
Copy Expressions

Copy Variables

Copies the selected variables to the system clipboard.

Context menu
Add Watch Expression Create Watch Expression Allows you to create a watch expression for the selected variable. Context menu
  Detail Pane... Allows you to specify the maximum number of characters to show in the details pane. View action
  Edit Logical Structure Allow you to edit the logical structure of the selected variable Context menu
  Find... Realizes the search dialog to find elements in the variables view. Context menu
Horizontal View Orientation Horizontal View Orientation Allows you to set the details pane in a horizontal layout within the variables view. View action
Inspect Inspect Allows you to inspect the selected variable in the expressions view. Context menu
  Instance Breakpoints... Allows you to filter existing breakpoints to certain instances. Context menu
  New Detail Formatter... Allows you to create your own detail formatter for that type of variable. Context menu
  Open Actual Type Opens the actual type of the selected variable. Context menu
  Open Actual Type Hierarchy Realizes the actual type hierarchy for the actual type of the selected variable. Context menu
  Open Declared Type Opens the declared type for the selected variable in a new editor. Context menu
  Open Declared Type Hierarchy Realizes the type hierarchy for the declared type of the selected variable. Context menu
  Preferences... Realizes the Details Formatter preference page. View action
  Select All Selects all of the variables in the view. Context menu
  Select Columns Allows you to select which columns are shown when columns are visible. View action
  Show As... Allows you to select a different formatter for showing the selected logical structure type variable. Context menu
Show Constants Show Constants Changes if constants should be shown in the view or not. View action
Show Columns Show Columns Changes if columns should be shown in the view or not. View action
Show Logical Structures Show Logical Structures Changes if logical structures should be shown in the view or not. View action
  Show Null Arrays Changes if null arrays should be shown in the view or not. View action
Show Qualifed Names Show Qualified Names Changes if qualified names should be shown in the view or not. View action
Show Static Variables Show Static Variables Changes if static variables should be shown in the view or not. View action
Show Type Names Show Type Names Changes if type names should be shown in the view or not. View action
Variables View Only Variables View Only Allows you to remove the details pane from the variables view. View action
Vertical View Orientation Vertical View Orientation Allows you to set the details pane in a vertical layout within the variables view. View action
  Wrap Text in Details Pane Changes if the text in the associated details pane should be wrapped or not. View action

Related concepts

Java views
Java perspectives

Related tasks

Suspending threads
Evaluating expressions

Related reference

Views and editors