Managing Threads

All the threads created in the current session are displayed in the Threads view of the Debugger window. For Java applications, this list also includes the thread groups in the application.

One thread is the current thread. By default, the current thread is the thread within the current session from which the debugger gained control. You can change the current thread using the contextual menu in the Threads view. When you switch between threads to debug, the Call Stack and Local Variables views are automatically updated to reflect the data applicable to that thread.

From the contextual menu, you can also suspend execution of a thread if you think it is causing problems and then later resume the thread once the problem is solved. You can also view the thread's current location in the Source Editor.

For more information on working with threads, see:

Making a Thread Current
Suspending and Resuming a Thread
Viewing the Source Code of a Thread
Threads View

Legal Notices