microsoft / vscode

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

my code is not getting run #196892

Closed adwai915 closed 11 months ago

adwai915 commented 11 months ago

Type: Performance Issue

PS C:\Users\ADMIN> cd Desktop PS C:\Users\ADMIN\Desktop> cd code PS C:\Users\ADMIN\Desktop\code> cd c PS C:\Users\ADMIN\Desktop\code\c> gcc new.c Cannot create temporary file in C:\Users\ADMIN\AppData\Local\Temp\: Permission denied PS C:\Users\ADMIN\Desktop\code\c>

VS Code version: Code 1.83.1 (f1b07bd25dfad64b0167beb15359ae573aecd2cc, 2023-10-10T23:48:05.904Z) OS version: Windows_NT x64 10.0.22635 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i3-7100U CPU @ 2.40GHz (4 x 2400)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
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)|3.90GB (0.24GB free)| |Process Argv|--crash-reporter-id 50a50cb1-dcce-46f0-b72b-fc761318f9c6| |Screen Reader|no| |VM|0%|
Process Info ``` CPU % Mem MB PID Process 0 53 19108 code main 0 5 1904 ptyHost 0 0 2480 conpty-agent 0 1 7392 C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\ADMIN\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\browser\media\shellIntegration.ps1\" } catch {}" 0 1 7776 C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\ADMIN\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\browser\media\shellIntegration.ps1\" } catch {}" 0 0 12192 conpty-agent 1 89 4364 gpu-process 0 1 8476 crashpad-handler 0 24 10280 extensionHost [1] 0 2 1352 electron-nodejs ("C:\Users\ADMIN\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node "c:\Users\ADMIN\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=10280) 0 3 8284 c:\Users\ADMIN\.vscode\extensions\ms-vscode.cpptools-1.17.5-win32-x64\bin\cpptools.exe 0 0 14692 "c:\Users\ADMIN\.vscode\extensions\ms-vscode.cpptools-1.17.5-win32-x64\bin\cpptools.exe" 0 5 12992 c:\Users\ADMIN\.vscode\extensions\ms-vscode.cpptools-1.17.5-win32-x64/bin/cpptools-srv.exe 8284 {34D66A57-C2C7-43DB-B24A-1265FF0EFC81} 0 0 17732 C:\WINDOWS\system32\conhost.exe 0x4 0 0 16504 C:\WINDOWS\system32\conhost.exe 0x4 0 5 11520 fileWatcher [1] 0 9 12852 utility-network-service 0 120 12876 window [1] (● new.c - Visual Studio Code) 0 46 13208 shared-process 0 57 19200 window [2] (Issue Reporter) ```
Workspace Info ``` ; ```
Extensions (5) Extension|Author (truncated)|Version ---|---|--- code-runner|for|0.12.1 cmake-tools|ms-|1.15.31 cpptools|ms-|1.17.5 cpptools-extension-pack|ms-|1.3.0 cmake|twx|0.0.17 (1 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscoreces:30445986 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593:30376534 pythonvs932:30410667 py29gd2263:30856252 vsclangdf:30486550 c4g48928:30535728 dsvsc012cf:30540253 pynewext54:30695312 azure-dev_surveyone:30548225 282f8724:30602487 f6dab269:30613381 showlangstatbar:30737416 03d35959:30757346 pythonfmttext:30731395 fixshowwlkth:30771522 showindicator:30805244 pythongtdpath:30769146 i26e3531:30792625 pythonnosmt12:30797651 pythonidxpt:30866567 pythonnoceb:30805159 copilotsettingt:30859503 asynctok:30869155 dsvsc013:30795093 dsvsc014:30804076 dsvsc015:30845448 pythontestfixt:30871694 pythonregdiag2:30871582 pyreplss1:30865275 pythoncet0:30874138 h48ei257:30870396 pythontbext0:30864172 ```
gjsjohnmurray commented 11 months ago

What happens if you exit VS Code, open a Windows command shell and repeat the same steps?

vscodenpa commented 11 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!