I am developing a Java application that has some threads. I print in threadId console like 17, 18, 19 etc. But when I have the debugging perspective open, I have this "Debug" window (the top left window) that shows me the current threads, but they use [Thread-2], [thread-3]. Numbers do not necessarily match ThreadIds.
Is there any way to map the ThreadId that I get in my console to the stream shown in the Debug window?
source
share