Skip to content

VSCode PowerShell exetension crashes #1695

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
doctordns opened this issue Jan 11, 2019 · 6 comments
Closed

VSCode PowerShell exetension crashes #1695

doctordns opened this issue Jan 11, 2019 · 6 comments
Labels
Issue-Performance Something's slow.

Comments

@doctordns
Copy link

doctordns commented Jan 11, 2019

Issue Description

I am experiencing a problem with VSCode Crashing, which I can reproduce.

To reproduce:

  1. Open VSCode and create a new PowerShell file.
  2. Enter a few lines of text.
  3. Move your cursor to the bottom of the text in the editor pane
  4. In the editor pane, hold down the ctrl key and highlight some text.
  5. BANG - PowerShell extension crashes

Attached Logs

Follow the instructions in the README about
capturing and sending logs.

Environment Information

Visual Studio Code

Name Version
Operating System Windows_NT x64 10.0.18309
VSCode 1.30.1
PowerShell Extension Version 1.10.2

PowerShell Information

Name Value
PSVersion 5.1.18309.1000
PSEdition Desktop
PSCompatibleVersions 1.0 2.0 3.0 4.0 5.0 5.1.18309.1000
BuildVersion 10.0.18309.1000
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Visual Studio Code Extensions

Visual Studio Code Extensions(Click to Expand)
Extension Author Version
code-spell-checker streetsidesoftware 1.6.10
csharp ms-vscode 1.17.1
githistory donjayamanne 0.4.4
PowerShell ms-vscode 1.10.2
rainbow-csv mechatroner 0.8.0
vscode-icons robertohuertasm 8.0.0
vscode-markdownlint DavidAnson 0.22.0
@doctordns doctordns changed the title VSCode PowerShell exension crashes VSCode PowerShell exetension crashes Jan 11, 2019
@TylerLeonhardt
Copy link
Member

Thanks for the info! Can you also attach the logs here so we can get a better idea of what's going on?

Can you set the log level to Diagnostic?

@doctordns
Copy link
Author

@rkeithhill
Copy link
Contributor

rkeithhill commented Jan 11, 2019

Although I'm not seeing a crash in this log file, I can tell you there is a known bug with the code folding provider when used on an untitled (unsaved) file. For now to get around this bug, save the file as a ps1 file.

@SydneyhSmith SydneyhSmith added the Issue-Performance Something's slow. label Jan 11, 2019
@doctordns
Copy link
Author

Ahh - saving the file does indeed resolve this issue.

@TylerLeonhardt
Copy link
Member

The fix for that is already in master, it's just pending a new release 👍

@SydneyhSmith
Copy link
Collaborator

Closing this as the update is now out! Will re-open if this issue persists.

@SydneyhSmith SydneyhSmith removed the Needs: Fix Verification Please verify the fix for us! label Jan 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Performance Something's slow.
Projects
None yet
Development

No branches or pull requests

4 participants