Expressions view

 

Expressions view allows inspecting data when a 4gl program is run in the Debug mode.

 

Expression view is not included by default to the Debug perspective.

It  opens automatically when an item is added to the view. You can also open from Window > Show view >Expressions.

 

Detail pane displays more information about the entries in the Expressions view.

 

 

Expressions view toolbar

 

Expression view toolbar contains these buttons:

 

 

Show Type Names

shows the types of expressions (this option is not available if Show columns in Layout is enabled)

Show Logical Structure

allows selecting the format for showing logical structure of the selected expressions

Collapse All

collapses all the expanded expressions

Create a New Watch Expression

allows adding watch expressions:

 

 

Remote Selected Expressions

deletes the selected expressions (they can be also removed with Delete button)

Remote All Expressions

deletes all the selected expressions

Open New View

allows opening more Expressions views (are displayed in the bottom part of the Debug perspective):

 

1

 

You can open as many Expressions views as you need.

 

View menu

opens the drop-down menu :

 

 

Minimize

minimizes the view

Maximize

maximizes the view

 

From the drop-down menu of the Expressions view, you can perform these actions:

 

Layout

changes the mutual layout of the expressions list and their details pane:

 

 

Vertical - details pane opens on the right from the list of expressions

Horizontal - details pane opens in the bottom of the view

Automatic - details pane opens in the whitespace (vertical or horizontal depending on the available space)

Variables View Only - removes the details pane

Show Columns - shows columns in the view

Select Columns - allows selecting columns to be displayed in the view (Name, Declared Type, Value, Actual Type):

 

 

Java

allows manipulating variables of a Java program (read more here):

 

 

 

Expressions view context menu

 

Certain  toolbar buttons - Create a New Watch Expression,  Remote Selected Expressions, Remote All Expressions - are duplicated in the context menu.

 

From the context  menu of the Debug view, you can perform these actions:

 

         

 

Select All

allows selecting all the expressions in the scope

Copy Expressions

copies the selected expressions

 

Find

allows finding the necessary expression in the scope

 

Disable

disables the selected expression:

 

 

 

Enable

enables the selected expression

 

Edit Watch Expression

allows editing new watch expressions:

 

 

 

Reevaluate Watch Expression

allows reevaluating watch expressions

 

 

Related articles:

Debug perspective

Debugging

Menu bar

Debug group of the main toolbar