Locals Panel

The Locals Panel is a panel in the top-level Main Window. The Locals Panel displays a table of the local variables (including method arguments) in the current scope. The corresponding Java source code must be compiled with debugging info turned on (-g) in order for local variables to be displayed in the debugger.

table

Each row in the table represents a local variable. Each local variable has the following attributes (which are the columns of the table). [Shift] Click on a column header to sort the table in [descending] ascending order according to that column. To change a value of a primitive variable (boolean, byte, short, int, long, character, float, double), double click on the corresponding value cell and enter the new value followed by hitting the Enter key (or hit the Escape key to cancel the editing). The new value string must validate in order for the change to be made.

A Tool Tip is displayable for each local variable row in the table. For object references, the Tool Tip displays the object's fields in the inheritance hierarchy. For array references, the Tool Tip displays the beginning array elements. For string references, the Tool Tip displays the beginning string characters. The number of lines displayed in a Tool Tip is configurable in the Global Settings Dialog.

While the target JVM is running, an hour glass cursor will be displayed in the Locals Panel.

context menu

A popup Context Menu is displayed by right clicking on the table:

©2001-2010. debugtools.com LLC. All rights reserved.