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?
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.