title: One of threads prevents .NET program from stopping completely. How to identify which one?
body: <p>I have a large application with lots of functions. Sometimes, when you close the main form - it exits smoothly. Other times the form closes, but the program remains running. Which debugging tools does Visual Studio 2010 provide for identifying misbehaving threads? </p>