Name: tb29552 Date: 02/19/2003
jdb implements the 'thread <thread id>' command to allow you to set the
default/current thread you are interested in debugging.
> threads
Group system:
(java.lang.ref.Reference$ReferenceHandler)0x4 Reference Handler cond. waiting
(java.lang.ref.Finalizer$FinalizerThread)0x3 Finalizer cond. waiting
(java.lang.Thread)0x2 Signal Dispatcher cond. waiting
(java.lang.Thread)0x1 CompileThread0 cond. waiting
Group main:
(java.lang.Thread)0x5 main cond. waiting
> thread 0x5
main[1]
But you can't set it by thread name:
> thread main
"main" is not a valid thread id.
It would save looking up and typing thread IDs if you could
use a thread name. If the name is not unique, jdb could
return an error prompting the user to supply an id.
======================================================================
jdb implements the 'thread <thread id>' command to allow you to set the
default/current thread you are interested in debugging.
> threads
Group system:
(java.lang.ref.Reference$ReferenceHandler)0x4 Reference Handler cond. waiting
(java.lang.ref.Finalizer$FinalizerThread)0x3 Finalizer cond. waiting
(java.lang.Thread)0x2 Signal Dispatcher cond. waiting
(java.lang.Thread)0x1 CompileThread0 cond. waiting
Group main:
(java.lang.Thread)0x5 main cond. waiting
> thread 0x5
main[1]
But you can't set it by thread name:
> thread main
"main" is not a valid thread id.
It would save looking up and typing thread IDs if you could
use a thread name. If the name is not unique, jdb could
return an error prompting the user to supply an id.
======================================================================