vscode-powershell: Frequent powershell crashes
System Details
- Operating system name and version: Windows 10 Enterpise Build 17672 180511-1445 (insider preview)
- VS Code version: 1.23.1
- PowerShell extension version: 1.7.0
- Output from
$PSVersionTable:
Copy / paste the following commands into the PowerShell Integrated Console, and paste the output here:
1.23.1
d0182c3417d225529c6d5ad24b7572815d0de9ac
x64
aaron-bond.better-comments@1.2.4
abusaidm.html-snippets@0.2.1
alefragnani.Bookmarks@0.19.1
azemoh.one-monokai@0.3.4
ban.spellright@2.5.0
donjayamanne.githistory@0.4.1
DotJoshJohnson.xml@2.2.0
eamodio.gitlens@8.3.3
emilast.LogFileHighlighter@2.4.0
emmanuelbeziat.vscode-great-icons@2.1.32
Equinusocio.vsc-material-theme@2.1.0
felixfbecker.php-debug@1.12.3
gerane.Theme-dimmed-monokai@0.0.2
gharveymn.nightswitch@1.1.0
GrapeCity.gc-excelviewer@2.0.21
hdg.live-html-previewer@0.3.0
HookyQR.beautify@1.3.0
IBM.output-colorizer@0.1.2
ikappas.phpcs@1.0.5
ionutvmi.reg@0.0.2
JerryHong.autofilename@0.1.3
johnpapa.winteriscoming@0.7.1
KnisterPeter.vscode-github@0.28.1
mechatroner.rainbow-csv@0.3.0
ms-vscode.csharp@1.15.2
ms-vscode.PowerShell@1.7.0
ms-vsliveshare.vsliveshare@0.3.262
ms-vsts.team@1.136.0
redhat.java@0.26.0
robertohuertasm.vscode-icons@7.23.0
Shan.code-settings-sync@2.9.2
streetsidesoftware.code-spell-checker@1.6.10
streetsidesoftware.code-spell-checker-polish@1.0.0
vangware.dark-plus-material@1.1.3
vscjava.vscode-java-debug@0.9.0
vscjava.vscode-java-pack@0.3.0
vscjava.vscode-java-test@0.6.1
vscjava.vscode-maven@0.8.0
wayou.vscode-todo-highlight@0.5.12
whizkydee.material-palenight-theme@1.8.0
xaver.clang-format@1.6.2
zhuangtongfa.Material-theme@2.13.6
Zignd.html-css-class-completion@1.11.0
Name Value
---- -----
PSVersion 5.1.17672.1000
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17672.1000
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Issue Description
I am fairly ok with PowerShell but I often abuse F5/CTRL+F5 to run code in terms of trying to run it… fix small thing F5 and so on… I often end up with script not running at all and at some point displaying this after few seconds

And this is just beginning. It seems I frequently get PowerShell crashes. I get this errors since ages so I doubt it’s related to me running Insiders Windows version. Same script run fine in ISE and I can press F5 as many times I want.
Attached Logs
Follow the instructions in the README about capturing and sending logs.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 66 (43 by maintainers)
https://github.com/PowerShell/vscode-powershell/issues/1634 check this out @randygrolemund . It’s a new issue on 1.10 version. Not related to this one.
There is a powershell package on npmjs.com but it isn’t this one. I think that vscode extensions just happen to use npm pkg infrastructure but aren’t real npm pkgs, kind of like published PowerShell modules use NuGet for packaging but aren’t really NuGet pkgs.
The worry would be if the “name” is a (case-sensitive) key for the VSCode Marketplace and changing the case would disassociate new versions of the extension with existing versions. I would hope not and that we could change it just to get rid of the warning.
@tylerl0706 unfortunately not for this one. Next time it happens I’ll do so. Had it just once thou.
Yes, looks like uppercase letters are deprecated for some reason: https://docs.npmjs.com/files/package.json#name
I don’t think we’re actually published on NPM, but could be wrong. Such a change could either be a total breaking change or totally inconsequential…
Currently on short vacations. When I will get back I will try to reproduce all the errors. I have already verbose logging turned on.