I have inherited an application that throws up 100 threads at the start. This makes my debugging life extremely tricky. Is there a way of getting Visual Studio to follow one thread?
Have you tried using the 'Threads' window in Visual Studio (in Debug / Windows menu) ?
You can freeze threads and switch between them
If possible, I suggest that in Debug mode you limit the number of threads that are created, to a much more manageable number, e.g., 3. That way you can still can diagnose bugs due to interaction between threads, but you are not completely snowed under.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With