vscode-powershell: Powershell extension crashing randomly

Issue Type: Performance Issue

Hello

Apolgies, I cannot really say how to reproduce, but while working in VSCode using the PoweShell extension, the integrated terminal will show and error saying PowerShell has terminated and do I wish to restart it

Sometimes it seems to happen even without my changing or running anything, simply highlighting content in an unsaved file can sometimes trigger it

I did turn diagnostic level logging on to try and capture useful information

I can see the error at the end of the ‘EditorServices.log’ but I cannot comprehend thae cause behind it

My setup is

Windows 10 Enterprise 1803 VSCode 1.30.2 (user setup) PowerShell extension version 1.10.2

If I can provide anything further please let me know

Many thanks

Extension version: 1.10.2 VS Code version: Code 1.30.2 (61122f88f0bf01e2ac16bdb9e1bc4571755f5bd8, 2019-01-07T22:54:13.295Z) OS version: Windows_NT x64 10.0.17134

System Info
Item Value
CPUs Intel® Core™ i7-8650U CPU @ 1.90GHz (8 x 2112)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Memory (System) 15.85GB (4.84GB free)
Process Argv
Screen Reader no
VM 0%
Process Info
CPU %	Mem MB	   PID	Process
    0	    80	 13972	code main
    0	    69	 10080	   shared-process
    0	   307	 11348	   window (Repos - Visual Studio Code)
    0	    13	  3352	     electron-crash-reporter
    0	   170	 12220	     searchService
    0	    68	 12628	     extensionHost
    0	    14	 17692	     watcherService 
    0	    10	 16900	       console-window-host (Windows internal process)
    0	     6	 19948	     winpty-process
    0	    67	 10400	       C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
    0	     9	 17384	       console-window-host (Windows internal process)
    0	    69	 17824	   window (Issue Reporter)
    0	   174	 18872	   gpu-process
Workspace Info
|  Window (Repos - Visual Studio Code)
|    Folder (Repos): 16895 files
|      File types: json(3349) dll(2302) py(1903) xml(929) md(880) ps1(776)
|                  js(723) png(585) pyc(511) sh(480)
|      Conf files: csproj(23) package.json(20) sln(19) grunt.js(5)
|                  settings.json(4) tsconfig.json(2) tslint.json(2)
|                  makefile(1) gulp.js(1);

VScode-ps-logs.zip

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 17

Most upvoted comments

So I’ve been running 1.11.0 since it became available and I have not had any repeat behaviour so far, has been solid

HTH