title: How to see background threads in Visual Studio 2010 debugger
body: <p>I'm trying to figure out why the application process lingers in Task Manager after the application is closed and the window disappears.</p>
  
  <p>When I get VS to attach to the zombie process and break all, the threads window shows that the main thread is still alive, and a number of worker threads as well.</p>
  
  <p>Some questions:</p>
  
  <ul>
  <li><p>Are worker threads necessarily background threads? If not, how do I identify the  background threads as I didn't see such a column in the window?</p>
  
  <p>Do I simply double-click on each thread in the thread window, and watch the Thread.IsBackgroundThread value?</p></li>
  <li><p>When I click on the main thread, the debugger doesn't show a call stack. How
  do I identify where the main thread is stuck?</p></li>
  </ul>