Using CTRL+C can cause break of debugging
See original GitHub issueI’ve been working with VSCode for a while and I often catch myself on pressing F5, noticing an error and I press CTRL+C multiple times to quickly terminate. I noticed that sometimes VS Code will come back from this but in a broken state where pressing F5 doesn’t do anything anymore. This may or may not be related to me pressing it during Formatting
on Save but maybe overall canceling running may impact how VSCode processes it. Of course maybe I shouldn’t cancel things like I do … but well… trigger happy it is.
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
CTRL+C and CTRL+BREAK Signals - Windows Console
The debugger can handle the exception or continue with the exception unhandled. CTRL + BREAK is always treated as a signal, ...
Read more >GDB: Ctrl+C doesn't interrupt process as it usually does but ...
I'm debugging a program (xmms2d as it happens) but in this program only, when I press Ctrl+C it gets treated as if GDB...
Read more >Debugging the effect of CTRL-C on a C program - Sysprogs
I'm trying to debug the effect of SIGINT arriving in my C program (on Linux); my ... I can send SIGINT to the...
Read more >Cannot send ctrl-c or ctrl-break to spawned debug console
I am using libuv to trap signals, the debugger spawns a separate console but it is not trapping the key signals. I expect...
Read more >9039 – GDB is not trapping SIGINT. Ctrl+C terminates ...
When I'm debugging, while gdb is running I may want to break gdb to set breakpoints or so, then I Ctrl-C (send SIGINT)...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@PrzemyslawKlys if you take a normal PowerShell console session, can you cancel connecting to office365 in the middle of things? Or is it just faster?
<kbd>Ctrl</kbd>+<kbd>C</kbd> can only cancel when PowerShell gets the opportunity to. So if it’s a .NET call, or there’s some thread scheduling to wait on, it can’t work. I suspect it might be the latter case here.
Also I see the issue with showing .json was solved in VSCode? Maybe this affects how things work?