One of my applications is heavily using the worker crew model. Several threads are created that do essentially the same thing to different pieces of data.
What is the best way to debug this?
Is there a way in Visual Studio to have a breakpoint based on line of code and thread name?
Edit: Actually the desired behaviour would be that only one thread of worker crew stops at the wanted place and that all other workers keep on going.
One of my applications is heavily using the worker crew model. Several threads are
Share
You can use conditional breakpoints in Visual Studio. Your condition could be
Thread.CurrentThread.Name == "MyThread"for example.