Viewing Threads and Stack Frames

Using the Threads/Stack tab you can view the threads in a thread group, the stack frames in a thread, the variables local to each stack frame, and the variables embedded within objects and arrays. Use the Threads/Stack tab to keep track of the value of a variable while you step through your code.

To view the thread groups in your project:

  1. Open the Threads/Stack tab in the Debugger.

    The Threads/Stack tab lists the all thread groups in your project, including the system thread groups.

  2. Click the glyph to the left of the thread group.

    The Java WorkShop expands the thread group to show the threads that make up the thread group.

  3. Continue clicking the glyphs on the left until you reach the variables in a stack frame.

  4. Click a glyph a second time to contract the item.

Notes


See also:

Threads/Stack Tab