You are here: User Guide > Reference > JavaScript Debug Perspective > Expressions View

Expressions View [Debug Perspective]

The Expressions view will not open by default when a debugging session is launched, but only when you have selected to watch a variable.

To watch a variable, right-click a variable in the editor or from the Variables View and select Watch. The Expressions view will open and the variable will be added to it. The variable's information will be updated as the debugging process continues.

Note:

To manually open the Expressions view, go to Window | Show View | Debug | Expressions.

The Expressions view allows you to monitor certain variables which you have decided to 'watch' during the debugging process. Selecting a variable will display details in the detail pane beside the view. Expanding the list under a variable will display its fields.

Expressions View

Expressions View Toolbar Commands

Icon

Name

Description

Show Type Names

Displays type names

Show Logical Structure

Displays the logical structure.

Collapse All

Collapses the list.

Create a New Watch Expression

Create a New Watch Expression

Allows you to define a new watch expression to add to the list.

Remove Selected Expression

Remove Selected Expression

Removes the expression selected in the view.

Remove All Expressions

Remove All Expressions

Removes all expressions in the view.

 

Expressions View Menu Commands

The view's menu can be accessed through the view menu icon .

 

Name

Description

Layout

Defines the view's layout:

  • Vertical View Orientation - The details pane will be displayed at the bottom of the Variables view.

  • Horizontal View Orientation - The details pane will be displayed to the right of the Variables view.

  • Expressions View Only - Only the Watched Variables pane  will be displayed.

 

 

Related Links:
Working with the Internal Web Browser

Debugging JavaScript

Web Browser Tools Perspective

Debug View [Debug Perspective]

Variables View [Debug Perspective]

Breakpoints View [Debug Perspective]

Scripts View

Debug Output View [PHP Debug Perspective]

Browser Output View [PHP Debug Perspective]

PHP Debug Perspective

 

 

©1999-2012 Zend Technologies LTD. All rights reserved.