Variables view

 

Variables view allows viewing and manipulating variables when a 4gl program is run in the debug mode.

 

 

Variables view toolbar

 

Variables view toolbar contains these buttons:

 

 

From the toolbar of the variables view these actions are available:

 

Show Type Names

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

 

 

Show Logical Structure

allows selecting a format for showing the logical structure of the necessary variable

Collapse All

collapses all the expanded variables

Show module variables

allows showing and hiding  module variables

Show global variables

allows showing and hiding  global variables

Show build-in variables

allows showing and hiding  special build in variables

Open New View

allows opening more variables views (are displayed in the bottom part of the Debug perspective). You can open as many 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 Variables view, you can perform these actions:

 

Layout

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

 

 

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

Horisontal - 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 in Java program (read more here).

 

 

Variables view context menu

 

From the context menu, you can perform these actions:

 

      

 

Select All

selects all the variables in the view

Copy variables

copies the selected variables to the system clipboard

 

Find

allows finding the necessary variable in the list by its name. In the Variables view, the selected variable is highlighted with blue color:

 

 

Change Value

if selected, allows changing the value of the necessary variables. When set in the dialog box, value changes in the Variables view:

 

 

 

Create watchpoints

allows creating new watchpoints

Watch

allows creating a watch expression for the selected variable

     

Details pane context menu

 

From the context menu of the details pane, you can perform these actions:

 

 

Assign Value

allows assigning a value to the selected variable

Cut

allows cutting the value from the details pane

Copy

allows copying the value from the details pane

Paste

allows pasting the value to the details pane

Select All

allows selecting all the variables in the scope

Find /Replace

allows finding the selected values and replacing them with necessary ones:

 

 

Max Length

allows setting the number of characters to be displayed in details pane:

 

 

 

 

Related articles:

Debug perspective

Debugging

Menu bar

Debug group of the main toolbar