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?
Share
Your application will not exit until all threads that have
IsBackground == falsehave finished.You can use the
Threadswindow when the VS debugger is attached to see which threads are still running.VS Menu: Debug -> Windows -> Threads.