How to close the window of "orphaned" consoles, which was opened from a visual studio?

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.

+3
source share
3 answers

ALMOST , , , - ...

XP SP3 VS 2005. (), .

, , , - . /// .., .

MS: http://support.microsoft.com/kb/982551

+4

, , .

+ . , , XP , , - . "" Taskmgr.exe. + "". -, , 1 .

, , -, . XP , , devenv.exe, . Windows 7 , .

+2

Windows XP . 7 . .

EDIT: Killing devenv.exe works for me. It is annoying that you need to restart sln.

+1
source

Source: https://habr.com/ru/post/1756575/


All Articles