Skip to content

Fix debugger regression where console needed input to start/continue #1555

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 2 commits into from
Aug 23, 2021

Conversation

andyleejordan
Copy link
Member

@andyleejordan andyleejordan commented Aug 19, 2021

These needed to be explicitly None to indicate that they should not be cancelled (for various reasons). The actual bug fix was the removal of shell.Stop(). Fixes PowerShell/vscode-powershell#3513.

@andyleejordan andyleejordan marked this pull request as draft August 19, 2021 23:38
@andyleejordan
Copy link
Member Author

andyleejordan commented Aug 19, 2021

Did not actually fix it 😢 Ok now it's fixed. Wondering how to regression test this.

These needed to be explicitly `None` to indicate that they should not be
cancelled (for various reasons).
This unintentionally introduced a bug with the PSReadLine integration
which left users needing to press `ENTER` in the console to start or
continue the debugger.
@andyleejordan andyleejordan force-pushed the andschwa/cancel-tokens branch from a59629e to 2316a2d Compare August 23, 2021 18:04
@andyleejordan andyleejordan marked this pull request as ready for review August 23, 2021 18:05
@andyleejordan andyleejordan changed the title Fix erroneous cancellation tokens Fix debugger regression where console needed input to start/continue Aug 23, 2021
@andyleejordan andyleejordan merged commit 584e483 into master Aug 23, 2021
@andyleejordan andyleejordan deleted the andschwa/cancel-tokens branch August 23, 2021 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Debugger won't run until ENTER is pressed in integrated console
2 participants