Debug Single ThreadFree
This Visual Studio 2010 extension adds two shortcuts and toolbar buttons to allow developers to easily focus on single threads while debugging multi-threaded applications. It dramatically reduces the need to manually go into the Threads window to freeze/thaw all threads but t...
Q and A (2)
Sign in to write a review
This tool does what it's supposed to do, but since it suspends all other threads than the one being focused on, this also means that if one of the suspended threads holds a lock on an object and the thread being focused on also tries to acquire that lock, the program will hang.
Mayerwin September 10 2011
| Edit |
Hi Mr. Andersen, this is indeed a possible behaviour. Unfortunately I believe it is a limitation of the debugger itself, as this is something you could also experience by manually freezing all the threads (and you not always know by the thread title or location whether it has acquired a lock). Of course, any idea or code contribution to circumvent this problem (if possible at all) is welcome!
Haven't tried it yet
I like it. Thanks for sharing :-)
Sign in to start a discussion