Threads Panel
The Threads Panel is a panel in the top-level Main Window.
The Threads Panel displays a table of the current threads in the target JVM.
The selected row in the table indicates the current thread in the debugger.
Selecting a row in the table, selects (changes) the current thread.
table
Each row in the table represents a thread. Each thread has the following
attributes (which are the columns of the table).
[Shift] Click on a column header to sort the table in
[descending] ascending order according to that column.
Threads are sorted in ascending order by thread object ID by default.
- ID - the corresponding thread object ID.
- Name - the thread's name. The thread is displayed in green if the thread
belongs to the "system" thread group, and the thread is displayed in blue
if the thread belongs to the "system.main" group.
- Status - the current execution status of the thread. A "running" status
is displayed in green, and the "wait" status is displayed in red.
Other possible status values are "unknown", "zombie", "sleeping",
"monitor" and "not started". The HotSpot target JVM may display status
values as "unknown".
- Group - the thread group to which the thread belongs. The "system"
thread group is displayed in green, and the "system.main" group is displayed in blue.
- Method Entry Events - if checked, stop execution of the target JVM when a Java method
is entered by this thread.
- Method Exit Events - if checked, stop execution of the target JVM when a Java method
is exited by this thread.
While the target JVM is running, an hour glass cursor will be displayed in the Threads Panel.
context menu
A popup Context Menu is displayed by right clicking on the table:
- Set Events... - displays the Set Thread Events Dialog.
- Interrupt... - interrupts execution of a currently blocked
thread causing an "InterruptedException" to be thrown. A confirmation
dialog will be displayed.
- Unsort - returns the table data to its default order.
- Columns... - displays a dialog that allows the User to show
or hide individual table columns.
- Help... - displays this Help.
©2001-2010. debugtools.com LLC. All rights reserved.