Breakpoint to suspend only one thread and not the others


I'd like to know if there's a way to set a breakpoint so that it only suspends one specific thread when hit, others pass by like it is disabled in a multithreaded application.


There is a way to set a thread breakpoint. You can also add a condition and compare the thread ID / name to the one you need to stop only in this specific thread.


See also the related answers on StackOverflow: