Call Stack

See Also

The Call Stack view shows the stack frames of the current thread, in order from most recent entry to the oldest entry (usually Thread.run() or the main method).

The current stack frame is indicated by an icon with a bold outline. Setting the current stack frame controls which frame the Variables view will show. This is done by double-clicking on the frame entry, or by selecting Set Current from the context menu.

The Set Breakpoint context menu item will create a breakpoint at the exact location of the stack frame. Because this type of breakpoint does not make use of the source file name and line number information (which may not be available depending on how the class containing that location was compiled), it can only be used during the active debugging session. Once the debugger is disconnected from the debuggee, the breakpoint will self-destruct.

The Show Source context menu item will display the source code for the selected call stack entry. This requires that the sourcepath be set to include the corresponding source file.

Popping Frames

When the debuggee is suspended due to a debugging event, it is possible to use the Pop Frames action to pop frames from the top of the call stack. All frames up to and including the selected frame will be popped of the stack. There are a number of conditions which apply when frames are popped, as listed below.

See Also


Legal Notices