Debug Single Thread


This Visual Studio 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 the on...

(4) Review
Visual Studio
2015, 2013, 2012, 2010
Download (3,342)
E-mail Twitter Digg Facebook
Add to favorites
Reviews (4)
Q and A (3)
Sign in to write a review
Sort by:

by Andrew Hanlon | September 01 2016

This is such a vital tool for debugging, even in VS 2015. Thank you!

by Mr. Andersen | September 09 2011

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.

In one case I wasn't able to recover from the program hang, because the "Focus on this thread" snowflake button was also not responding, so I had to shut down Visual Studio in order to escape from the deadlock.

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!

by PikachuEXE | July 18 2011

Haven't tried it yet
5 stars first :P

by Günther1982 | July 08 2011

I like it. Thanks for sharing :-)
Saves a whole bunch of mouse-clicks.

Sign in to start a discussion

  • Visual Studio 2015 support
    4 Posts | Last post March 07, 2016
    • Is there any change that support for Visual Studio 2015 will be added?
      I did do a quick test, and by just adding Visual Studio 2015 to the vsixmanifest file, it will be possible to install on VS2015 and it works as expected...
      I could provide a proper pull request if you like...
    • Hi David, thanks for the feedback and good to know that it works. I will try uploading a version that supports VS 2015 shortly. I hadn't updated this extension as VS 2015 has better support for debugging multi-threaded apps and nobody had asked for it.
    • Thank you. Personally I agree with you that VS2015 has good support, but one of my co-workers doesn't agree and only will use VS2015 when this extension works.
    • Hi David, I have published the version supporting VS 2015 (no version name change so that existing users of previous VS versions are not prompted to update for nothing). I hope your colleague enjoys it (and VS 2015)!
  • VS2013
    6 Posts | Last post July 17, 2015
    • Hi,
      do you plan an update so that it will be compatible with Vs2013?
    • Hi Christiansei, I have not decided yet as I found VS2013 to be easier to deal with tasks and freeze/unfreeze threads. However I will let you know here if add support for VS2013. In the meantime feel free to check the source code on Codeplex.
    • I am able to make it work in VS2012, but it does not seem to be as straightforward with VS2013 (see problem described here:
    • Hi,
      thanks for your response.
    • Hi Christiansei, I have just updated the extension, hopefully it also works for VS 2013 without the SDK.
    • hi, installed it today on vs2013. Works perfect!
      thank you!!
  • How do you show the new buttons/commands?
    2 Posts | Last post November 13, 2013
    • I installed your extension, but cannot find the new commands. Where should they appear?
    • What is your version of VS?