-
Notifications
You must be signed in to change notification settings - Fork 311
upgrading from 2.2.0-beta2 > beta3 broke Powershell debugger in vscode #2616
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
Comments
seems to be related to PSReadLine 2.2.0-beta 3 breaks extension |
@andschwa 2.1.0 and 2.2.0-beta2 both work ok for me. The problem is that I can't use Powershell Preview 7.2.* at all without PSReadline 2.2.0-beta3 and there is no work-around for that. |
The fix is going to be PowerShell/PowerShellEditorServices#1514 |
Unless, @daxian-dbw, will PowerShell Preview 7.2.x be incompatible with PSReadLine 2.1.0 at some point? Like, what's our priority to upgrade the bundled PSReadLine to 2.2.0? |
@andschwa I see your question was directed at dbw but I understand that PowerShell Preview 7.2.0-preview.7 is not compatible with PSReadLine 2.1.0 |
Hm, FYI @rjmholt we might have to prioritize bumping PSReadLine. |
Yes, 2.1.0 works with all 7.2 preview releases. It's safe to bundle PSES with 2.1.0 PSReadLine. |
@rjmholt found out the root cause why 2.2.0-beta3 breaks VSCode debugging: PSReadLine/PSReadLine/ReadLine.cs Lines 317 to 320 in ad74cef
The |
🎉 This issue was addressed in 2636, which has now been successfully released in |
Environment
PS version: 7.1.3
PSReadline version: 2.2.0-beta3
os: 10.0.19041.1 (WinBuild.160101.0800)
PS file version: 7.1.3.0
HostName: Visual Studio Code Host
BufferWidth: 238
BufferHeight: 10
Exception report
Steps to reproduce
Upgrade to PSReadline 2.2.0-beta3 from PSReadline 2.2.0-beta2
Open new PowerShell script in VSCode, set breakpoint on first line, and launch debugger
This happens in latest vscode and vscode-insiders, Powershell/Powershell-Insiders Extension and with Powershell 7.1+ and 7.2+
Expected behavior
debugger should pause at the breakpoint
Actual behavior
debugger just hangs and I can either pause or stop
notes
I tried rolling back powershell extension, and rebooting.
The text was updated successfully, but these errors were encountered: