Threads and Stack pane

The Threads and Stack pane lists methods called by your program so far. Only methods in the currently loaded symbol table are listed in this window.

The Threads and Stack pane displays the sequence of method calls that brought the program to its current state. When you double-click a method in the Threads and Stack pane, the Source pane displays the corresponding code.

The Call Stack is especially useful to see what sequence of calls led to a particular bug or unexpected condition.

The Threads and Stack pane enables you to show where a method was called. This is helpful if you accidentally Trace Into a method that you meant to Step Over. Using the Threads and Stack pane, you can return to the point from which the current method was called, then resume debugging from there.

To use the call stack to backtrack,

  1. In the Threads and Stack pane, double-click the method that called the method you accidently traced into. The Source pane becomes active with the cursor positioned at the location of the method call.
  2. In the Source pane, move the cursor to the statement following the method call.
  3. In the Source pane, right-click a line and choose Run To Cursor.

Icons in the Threads and Stack pane

Icon Graphic Meaning
Thread group
Thread
Method