title: Identify the thread which holds the lock
body: <p>one of the threads in my application blocked at the following lock statement and resulted in a deadlock</p>
  
  <pre><code>void ExecuteCommand()
  {
      lock(this._lockinstance)
      {
          // do some operation
      }
  }
  </code></pre>
  
  <hr>
  
  <p>Is it possible to easily identify which thread is currently holding the lock?.. My application has more than 50 threads, which makes it difficult to go through each callstack using visual studio to locate the thread that holds the lock</p>