Open niklaskarl opened 5 years ago
As suspected in #2826 I can confirm that the issue only occurs when the Debug Console is open. VS Code seems to freeze for some seconds every time a new message is printed to the window.
I have no problems with the Debug panel, the problem seems to be the Debug Console.
Just crosschecked with other debugger extensions to make sure the problem is with Omnisharp and not with the Debug Console itself. E.g. the Chrome debugger extension stays responsive even though I flushed it with a ton of messages.
+1
+1
The CPU usage seems to be exaggerated when the VS Code window is out of focus with the debug console active. If the window is still somewhat responsive, clearing the Debug Console output alleviates the issue for a short while.
cc @gregg-miskelly
Same problem, any solution?
Are there any solutions to this? My vscode freezes for up to 20 seconds when a breakpoint is reached or any exception in my code was thrown.
Environment data
VS Code version: 1.30.2 C# Extension version: 1.17.1
Problem
I am debugging a fairly simple ASP.Net Core application and it freezes the whole VS Code window. The system is still running smoothly. VS Code doesn't respond to clicks or keystrokes and I am not even able to abort the debugging session.
Looking at the environment data the freeze seems to come from the C# extension. I never had problems debugging this application before and a restart doesn't fix the problem either. Is there any other information I can attach to this bug report?