microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
160.75k stars 28.17k forks source link

Terminal is not working #211778

Closed surviver16 closed 2 months ago

surviver16 commented 2 months ago

Type: Performance Issue

Terminal is blank and I am unable to type anything. Maybe i have done some settings mistakes but i completely uninstalled the vs code and its related folder and again installed a fresh vs code but still terminal is blank.

I also want to know what to give input for below: An explicit start path where the terminal will be launched, this is used as the current working directory (cwd) for the shell process. This may be particularly useful in workspace settings if the root directory is not a convenient cwd.

Please solve my issue.

VS Code version: Code 1.79.2 (695af097c7bd098fbf017ce3ac85e09bbc5dda06, 2023-06-14T08:57:04.379Z) OS version: Windows_NT x64 6.2.9200 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz (8 x 2112)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|7.81GB (1.16GB free)| |Process Argv|--crash-reporter-id e5f67e96-458e-414f-944b-d4c091bacaf7| |Screen Reader|no| |VM|0%|
Process Info ``` CPU % Mem MB PID Process 0 141 19384 code main 0 264 5136 "C:\Program Files\Mozilla Firefox\firefox.exe" -osint -url "https://aka.ms/vscode-troubleshoot-terminal-launch" 0 30 2032 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=5428 -childID 4 -isForBrowser -prefsHandle 5432 -prefMapHandle 5436 -prefsLen 32402 -prefMapSize 251266 -jsInitHandle 1612 -jsInitLen 234952 -parentBuildID 20240425211020 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {b8c993d1-0581-4c4b-bbd4-a9cb2336a01b} 5136 "\\.\pipe\gecko-crash-server-pipe.5136" tab 0 92 4912 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=5628 -childID 5 -isForBrowser -prefsHandle 5520 -prefMapHandle 5528 -prefsLen 42123 -prefMapSize 251266 -jsInitHandle 1612 -jsInitLen 234952 -parentBuildID 20240425211020 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {a4742e0b-9969-4d44-b86d-499b4f6562aa} 5136 "\\.\pipe\gecko-crash-server-pipe.5136" tab 0 205 8016 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=2100 -parentBuildID 20240425211020 -prefsHandle 1988 -prefMapHandle 2040 -prefsLen 36491 -prefMapSize 251266 -appDir "C:\Program Files\Mozilla Firefox\browser" - {f3082af1-2b3e-4a29-9fc1-200ed8815436} 5136 "\\.\pipe\gecko-crash-server-pipe.5136" gpu 0 30 8220 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=3264 -childID 7 -isForBrowser -prefsHandle 3252 -prefMapHandle 3216 -prefsLen 32546 -prefMapSize 251266 -jsInitHandle 1612 -jsInitLen 234952 -parentBuildID 20240425211020 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {6b21be74-d34f-4066-a8e5-d618173a0400} 5136 "\\.\pipe\gecko-crash-server-pipe.5136" tab 0 18 9640 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=2460 -parentBuildID 20240425211020 -prefsHandle 2452 -prefMapHandle 2448 -prefsLen 36491 -prefMapSize 251266 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {97526d67-8719-46a9-ad3c-8b923e57ca17} 5136 "\\.\pipe\gecko-crash-server-pipe.5136" socket 0 17 11428 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=5148 -parentBuildID 20240425211020 -sandboxingKind 0 -prefsHandle 5140 -prefMapHandle 5128 -prefsLen 42123 -prefMapSize 251266 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {72ad03a8-a102-4e46-a2f9-5698cf2e6e5c} 5136 "\\.\pipe\gecko-crash-server-pipe.5136" utility 0 56 11480 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=4280 -childID 2 -isForBrowser -prefsHandle 4272 -prefMapHandle 3612 -prefsLen 42123 -prefMapSize 251266 -jsInitHandle 1612 -jsInitLen 234952 -parentBuildID 20240425211020 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {41b0b63d-9556-4746-899c-ae91e9a0ee43} 5136 "\\.\pipe\gecko-crash-server-pipe.5136" tab 0 30 11484 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=5804 -childID 6 -isForBrowser -prefsHandle 6024 -prefMapHandle 6020 -prefsLen 32402 -prefMapSize 251266 -jsInitHandle 1612 -jsInitLen 234952 -parentBuildID 20240425211020 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {06fbe444-c851-42ca-a3b1-3fd9c1c93c30} 5136 "\\.\pipe\gecko-crash-server-pipe.5136" tab 0 107 20472 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=5284 -childID 3 -isForBrowser -prefsHandle 5136 -prefMapHandle 5184 -prefsLen 32402 -prefMapSize 251266 -jsInitHandle 1612 -jsInitLen 234952 -parentBuildID 20240425211020 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {f71a3dcd-1256-43bf-99c3-213ae5a26891} 5136 "\\.\pipe\gecko-crash-server-pipe.5136" tab 0 237 5176 gpu-process 0 121 6956 extensionHost [1] 0 97 8540 electron-nodejs ("C:\Users\YASH RAJ\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node "c:\Users\YASH RAJ\.vscode\extensions\formulahendry.auto-rename-tag-0.1.10\packages\server\dist\serverMain.js" --node-ipc --clientProcessId=6956) 0 75 13200 electron-nodejs ("C:\Users\YASH RAJ\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node "c:\Users\YASH RAJ\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\html-language-features\server\dist\node\htmlServerMain" --node-ipc --clientProcessId=6956) 0 79 20152 electron-nodejs ("C:\Users\YASH RAJ\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node "c:\Users\YASH RAJ\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\css-language-features\server\dist\node\cssServerMain" --node-ipc --clientProcessId=6956) 0 97 24952 electron-nodejs ("C:\Users\YASH RAJ\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node "c:\Users\YASH RAJ\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=6956) 0 94 8384 shared-process 0 70 9704 fileWatcher [1] 0 222 12316 window [1] (Settings - Practice - Visual Studio Code) 0 80 17376 ptyHost 0 21 2616 winpty-process 0 62 5356 C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe 0 11 17172 console-window-host (Windows internal process) 0 18 5788 winpty-process 0 62 12932 C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe 0 11 13912 console-window-host (Windows internal process) 0 19 12588 winpty-process 0 10 16784 console-window-host (Windows internal process) 0 49 23320 C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe 0 104 17988 window [2] (Issue Reporter) 0 46 19652 utility-network-service 0 29 25584 crashpad-handler ```
Workspace Info ``` | Window (Settings - Practice - Visual Studio Code) | Folder (Practice): 22 files | File types: jpeg(8) jpg(7) html(3) css(2) ico(1) | Conf files:; ```
Extensions (5) Extension|Author (truncated)|Version ---|---|--- prettier-vscode|esb|10.4.0 auto-close-tag|for|0.5.15 auto-rename-tag|for|0.1.10 cpptools|ms-|1.19.9 LiveServer|rit|5.7.9
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492:30256859 vscod805:30301674 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 pythongtdpath:30769146 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 pythontbext0:30879054 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 bg6jg535:30979843 ccp1r3:30993539 dsvsc020:30976470 pythonait:31006305 gee8j676:31009558 dsvsc021:30996838 945dj816:31013170 pythoncenvpt:31022790 dwnewjupytercf:31035177 ```
VSCodeTriageBot commented 2 months ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.88.1. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

surviver16 commented 2 months ago

I have installed it today from websites the best possible version available. Please resolve my issue.

meganrogge commented 2 months ago

what version are you on now?

Can you share your settings.json file and also do a trace log while creating a terminal? https://github.com/microsoft/vscode/wiki/Terminal-Issues#enabling-trace-logging /label info-needed terminal

VSCodeTriageBot commented 2 months ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!