Thread Debugging

I would like to run specificaly one thread in the debugging mode but I don't want to run whole program in the debugging mode. Beside, I also want not change virtual machine settings in the debugging mode. Is there any suggestion?
[244 byte] By [Bassedaa] at [2007-11-27 5:41:35]
# 1

I have developed an application that is time critical. This application consists two parts:

1. System and Core part which are time critical.

and

2. User part which consists of several threads.

I would like to run only the threads in User part of the system in debug mode. So the system part runs without any performance lost (due to running it in debug mode) while I can trace and debug the user threads.

The question is whether I can debug the thread(s) without running the application in debug mode or not? If not, how much running the application in debug mode affects the performance?

Bassedaa at 2007-7-12 15:19:15 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 2

It is not clear what you are trying to do on a thread while debugging.

The performance change depends on if you are debugging like

setting break points, watching variables,.. or profiling or logging

messages from your debug thread. And what tools you are

planning to use to debug your app.

swamyva at 2007-7-12 15:19:15 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...