title: How to debug a single thread in Visual Studio?
body: <p>I have a solution with some projects. There are several break-points in different projects. I want to trace the first thread hit one of these break-points and continue tracing that single thread despite of other threads entering the same code-blocks.</p>
  
  <p>I know this is possible through defining a condition on the break-point, that is, thread name = ... or thread Id = ... but my case is a heavy loaded <a href="http://en.wikipedia.org/wiki/ASP.NET" rel="noreferrer">ASP.NET</a> application and as soon as I attach to <code>w3wp.exe</code> many threads will hit the break-points. I need some thing like a <code>ThreadLocal&lt;break-point&gt;</code>.</p>
  
  <p>Is it possible? If so, how?</p>