If any of the views described below is not visible, you can open it using the
→ menu.This view allows you to manage the debugging or running of programs in the workbench. It displays the stack frame for the suspended threads for each target you are debugging. Each thread in your program appears as a node in the tree. It also displays the process for each target you are running.
If the thread is suspended, its stack frames are shown as child elements. Clicking on a stack frame takes you to the corresponding line in the Perl editor. If necessary, a new editor is opened automatically.
When a stack frame is selected, you can see the visible variables in that stack frame in the Variables view. The view shows the value of primitive types. Complex variables can be examined by expanding them to show their members.
Global variables (including Perl internal variables) are marked
with an icon, local variables with an
icon.
If the value of a variable has changed since the last execution step, it is displayed in red. If changes in inner levels of complex variables have occurred, the path to the changed variables is indicated via delta symbols:
This makes it possible to see these kinds of changes even if variables are collapsed.
You can customize the presentation with the configuration menu:
To show the detail pane select Vertical View Orientation or Horizontal View Orientation. Select Variables View Only to disable it. The details pane shows the value of primitive variables (especially useful for string variables).
The variables view allows to select the following types of variables for displaying by checking the corresponding menu entry:
Perl Internal Variables: these are variables provided by
the Perl interpreter like $_
,
@INC
etc.
Global Variables: variables visible from everywhere in your program
Local Variables: variables declared with the keyword
my
, more correctly called "lexical" variables
in Perl. To show lexical variables, you need to install the Perl PadWalker
module. The PadWalker module has some problems which influence viewing
of local variables.
The Breakpoints view shows all breakpoints (see the section called “Breakpoints”), their state and location.
By selecting one or more breakpoints and invoking the context menu, you can enable, disable or remove these breakpoints.