Expressions View

The Expressions view (in the Debug perspective) shows a list of expressions and their values in the debugger. Use it to examine program states persistently as you step through your code, and to set breakpoints when fields are accessed or modified. This view is similar to the Variables view (described later in Part VII) except that the Expressions view shows only expressions that you have explicitly added. Table 16 describes the Expressions view's toolbar.

Table 7-8. Expressions view toolbar

Icon

Description

Show full type names (toggle).

Show logical structure (toggle).

Collapse all the expanded trees in the view.

Remove the current expression from the view.

Remove all expressions in the view.

There are three ways of looking at any expression in the Eclipse IDE; this is true for both the Expressions view and the Variables view:

Literal mode

The fields, and nothing but the fields

Logical mode

The way you normally think about the object

Details pane

The ...

Get Eclipse IDE Pocket Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.