Skip to content

'Compare with Saved' crashes the PowerShell session #1002

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

Closed
ajansveld opened this issue Aug 22, 2017 · 2 comments
Closed

'Compare with Saved' crashes the PowerShell session #1002

ajansveld opened this issue Aug 22, 2017 · 2 comments
Labels
Issue-Bug A bug to squash.

Comments

@ajansveld
Copy link

System Details

  • Operating system name and version: Windows 10 (10.0.14393)
  • VS Code version: 1.15.0 (8b95971d8cccd3afd86b35d4a0e098c189294ff2)
  • PowerShell extension version: 1.4.1
  • Output from $PSVersionTable:
Name                           Value
----                           -----
PSVersion                      5.1.14393.1532
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.1532
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Issue Description

When using the "Compare with Saved" feature on a PowerShell script the extension stops with a "The PowerShell session has terminated due to an error, would you like to restart it?" message.

I think the bug is actually in the language server, but raising it here for visibility (sorry for the cross-post).

Attached Logs

See PowerShell/PowerShellEditorServices#544.

@daviwil
Copy link
Contributor

daviwil commented Aug 22, 2017

No problem! I actually just started looking into this one again, expect a fix in the next update.

@daviwil daviwil added Area-General Issue-Bug A bug to squash. labels Aug 22, 2017
@daviwil daviwil added this to the 1.5.0 milestone Aug 24, 2017
@daviwil
Copy link
Contributor

daviwil commented Oct 27, 2017

I've got a fix prepared for this, will go out with today's update! Closing it as a duplicate of PowerShell/PowerShellEditorServices#342.

@daviwil daviwil closed this as completed Oct 27, 2017
@daviwil daviwil removed this from the 1.5.0 milestone Oct 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug A bug to squash.
Projects
None yet
Development

No branches or pull requests

2 participants