Debug Single Thread

Free

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...

(3) Review
Visual Studio
2010
Download (1,631)
9/10/2013
1.1.0
View
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (3)
Q and A (2)
Sign in to write a review
Sort by:

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 |
Delete

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


  • VS2013
    4 Posts | Last post June 10, 2014
    • Hi,
      do you plan an update so that it will be compatible with Vs2013?
      
      Christian
    • 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: http://stackoverflow.com/questions/21859192/visual-studio-2013-extension-installed-but-no-menus-functionallity-without-vs-sd)
    • Hi,
      thanks for your response.
      
      Christian
  • 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?