When working with console applications in Visual Studio, I launched the application by pressing F5 to launch it in debug mode. Sometimes (and I'm not sure how this happens), I will return to the "editing mode" in Visual Studio, and the debugged console window will still be open.
He will remain open, but completely unresponsive. I can’t close the window by right-clicking it and clicking “close”; I cannot close it using the task manager, and I cannot close it by completing a specific process (as far as I know). In fact, I cannot even exit Windows when this happens without physically pressing the power button to restart the computer.
How can I close the window without restarting the computer?
System Information: Windows XP SP3, Visual Studio 2010
EDIT: This usually happens after I go into debug mode. All exceptions are buffered and printed to the console, so this is not because the exception causes the application to break, but sometimes I take a step in the application until I get to the part of the application where the exception is caught, but before it is on actually thrown back to the user interface.
source
share