Skip to content

Avoid stopping the debugger when canceling other tasks in a debug session #1712

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

Merged
merged 1 commit into from
Feb 16, 2022

Conversation

andyleejordan
Copy link
Member

While we need to cancel the debugger if a debugged task is running and
Ctrl-C is issued, we explicitly are not running the debugged task when
we're stopped in a breakpoint. Instead, the user can be running
unrelated tasks and may wish to cancel them without stopping the
debugger.

Fixes PowerShell/vscode-powershell#3832 and #1708

…sion

While we need to cancel the debugger if a debugged task is running and
Ctrl-C is issued, we explicitly are not running the debugged task when
we're stopped in a breakpoint. Instead, the user can be running
unrelated tasks and may wish to cancel them without stopping the
debugger.
@andyleejordan andyleejordan merged commit 0e4b2c0 into master Feb 16, 2022
@andyleejordan andyleejordan deleted the andschwa/dont-cancel-debugger branch February 16, 2022 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants