C# Visual Studio Debugger UI behavior with lock

前端 未结 3 1951
南笙
南笙 2021-01-22 00:28

I have a block of code in a lock:

lock (obj)
{
  //...
}

I also have a property that locks on that same object. Simple enough scenario. My ques

3条回答
  •  渐次进展
    2021-01-22 00:45

    My experience is that the VS.NET debugger does freeze from time to time, but it must have some deadlock detection and debug optimizations to avoid these types of issues.

提交回复
热议问题