开发者

Debugging Monitor.Enter, Monitor.Exit. How?

开发者 https://www.devze.com 2022-12-15 21:13 出处:网络
I开发者_运维知识库s there anyway to see what objects have had locks placed on them in the visual studio IDE?I don\'t know of any method to know which objects has lock placed on them, but with SOSAssis

I开发者_运维知识库s there anyway to see what objects have had locks placed on them in the visual studio IDE?


I don't know of any method to know which objects has lock placed on them, but with SOSAssist you can see how many locks are held by a thread.

There may be a way to see this inside the Visual Studio IDE with sos.dll, but it will probably easier to use SOSAssist.

0

精彩评论

暂无评论...
验证码 换一张
取 消