-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CTRL+C stops debugging when stopped on breakpoint #3832
CTRL+C stops debugging when stopped on breakpoint #3832
Comments
@PrzemyslawKlys I am confused, you literally asked for Ctrl-C to stop debugging in #3700 It is currently working as intended: if a task is running, hitting Ctrl-C cancels it. If it was under the debugger, that exits the debugging session. |
No. Those are 2 different things.
Second problem:
That's how it works in prod version. So if we are stopped within breakpoint don't use CTRL+C to stop debug session, because we are in state where the code is not running. |
The fix for this is out in PowerShell Preview! |
Thank you for your comment, but please note that this issue has been closed for over a week. For better visibility, consider opening a new issue with a link to this instead. |
Prerequisites
Summary
When you start debugging and you are on a breakpoint I often go into powershell console and start doing some checks. Sometimes I do
$Value | ft
and it goes for minutes. So I often cancel after 2-3 seconds, which in new preview kills debugging. In production version it doesn't.PowerShell Version
Visual Studio Code Version
Extension Version
Steps to Reproduce
Visuals
No response
Logs
No response
The text was updated successfully, but these errors were encountered: