tools to detect .net application deadlock [closed]
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this questioncan anybody recommend tools to detect .net application deadlock?
EDIT: Chess is what i found from Microsoft.
The nicest tool I've seen is the Concurrency Visualizer in VS 2010. I would recommend installing VS 2010 Ultimate Beta 2, then profiling your application with the Concurrency Profiler.
This shows you exactly where you have contention, and what is holding each lock.
Additionally to VS, you can also go more lowlevel by using WinDBG and the sosex Extension; more specifically the "!dlk" command.
Granted, the learning curve with WinDBG could be a bit steep, but it could be certainly worth it - for all sorts of issues.
精彩评论