You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
upgrading from 2.2.0-beta2 > beta3 broke Powershell debugger in vscode #2616
brock chapin (@bchap1n) and WorrenB Can you please downgrade your PSReadLine to the latest compatible version (i.e. the one we ship with the extension) 2.1.0?
Unless, Dongbo Wang (@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?
Andy Jordan (@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
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?
Yes, 2.1.0 works with all 7.2 preview releases. It's safe to bundle PSES with 2.1.0 PSReadLine.
Activity
WorrenB commentedon Jun 25, 2021
seems to be related to PSReadLine 2.2.0-beta 3 breaks extension
in my case I couldn't use F8 (Run Selections) either
andyleejordan commentedon Jun 25, 2021
brock chapin (@bchap1n) and WorrenB Can you please downgrade your PSReadLine to the latest compatible version (i.e. the one we ship with the extension) 2.1.0?
PowerShell/vscode-powershell#3393 (comment)
bchap1n commentedon Jun 25, 2021
Andy Jordan (@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.
andyleejordan commentedon Jun 25, 2021
The fix is going to be PowerShell/PowerShellEditorServices#1514
andyleejordan commentedon Jun 25, 2021
Unless, Dongbo Wang (@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?
bchap1n commentedon Jun 28, 2021
Andy Jordan (@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
andyleejordan commentedon Jun 29, 2021
Hm, FYI Rob Holt (@rjmholt) we might have to prioritize bumping PSReadLine.
daxian-dbw commentedon Jul 1, 2021
Yes, 2.1.0 works with all 7.2 preview releases. It's safe to bundle PSES with 2.1.0 PSReadLine.
daxian-dbw commentedon Jul 1, 2021
Rob Holt (@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
cancellationTokenshould be passed along instead of using the default token. PR is out: #2636