Viewing Threads and Stack Frames
Using the Threads/Stack window, 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 contained within objects and arrays. You can also keep track of the value of a variable while you step through your code.
To view threads, stack frames, and variables:
- Choose Debug -> Threads/Stack.
The Threads/Stack window lists the all thread groups in your project, including the system thread groups.
- Click the + icon next to the

thread group.
JDE expands the thread group to show the threads that make up the thread group.
- Continue clicking the + icons on the left until you reach the variables in a stack frame.
- Click the - icon to contract the item.
Tips
- If a stack frame does not display local variables, try recompiling your program with the -g option.
- Applets run in multiple threads. For example, the init,
start, and stop methods run under one thread, while
paint and handleEvents run under another (AWT-Motif on SolarisTM computing environments and AWT-CallBack-Win32 on Microsoft Windows NT or Windows 95 systems.)
See also:
- Threads/Stack Overview