microsoft / vscode

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

Could not execute C/C++ files. #194775

Closed KT-1114 closed 11 months ago

KT-1114 commented 11 months ago

We have written the needed data into your clipboard because it was too lar Type: Performance Issue

When I try to run an C/C++ code using run C/C++ file option it opens the terminal and just shows this PS C:\Users\Lion> & 'c:\Users\Lion.vscode\extensions\ms-vscode.cpptools-1.17.5-win32-x64\debugAdapters\bin\WindowsDebugLauncher.exe' '--stdin=Microsoft-MIEngine-In-ziv0j0gw.5nh' '--stdout=Microsoft-MIEngine-Out-5tcoyzlw.oge' '--stderr=Microsoft-MIEngine-Error-0brsbkef.jbv' '--pid=Microsoft-MIEngine-Pid-wgrlgmuw.o1f' '--dbgExe=C:\MinGW\bin\gdb.exe' '--interpreter=mi'

VS Code version: Code 1.82.2 (abd2f3db4bdb28f9e95536dfa84d8479f1eb312d, 2023-09-14T05:55:25.390Z) OS version: Windows_NT x64 10.0.22631 Modes:

System Info |Item|Value| |---|---| |CPUs|11th Gen Intel(R) Core(TM) i5-11320H @ 3.20GHz (8 x 3187)| |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)|7.79GB (0.48GB free)| |Process Argv|--crash-reporter-id 1b1c5c64-e9a7-453c-b7f6-3f6c605fb10d| |Screen Reader|no| |VM|0%|
Process Info ``` CPU % Mem MB PID Process 0 211 2408 code main 0 82 4828 ptyHost 0 63 1064 C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe 0 18 22324 "C:\Users\Lion\.vscode\extensions\ms-vscode.cpptools-1.17.5-win32-x64\debugAdapters\bin\WindowsDebugLauncher.exe" --stdin=Microsoft-MIEngine-In-gc4ztwik.222 --stdout=Microsoft-MIEngine-Out-wxxx1ric.nlf --stderr=Microsoft-MIEngine-Error-bxs4dgxi.yp4 --pid=Microsoft-MIEngine-Pid-0sg5lsdb.5xe --dbgExe=C:\MinGW\bin\gdb.exe --interpreter=mi 0 13 5168 "C:\MinGW\bin\gdb.exe" --interpreter=mi 0 6 1680 "D:\C\Assignments\toh.exe" 2>CON 1>CON CON 1>CON
Workspace Info ``` ; ```
Extensions (31) Extension|Author (truncated)|Version ---|---|--- flutter-snippets|ale|3.0.0 bracket-select|chu|2.0.2 dart-code|Dar|3.74.0 flutter|Dar|3.74.0 vscode-npm-script|eg2|0.3.29 auto-close-tag|for|0.5.14 search-node-modules|jas|1.3.0 vscode-edge-devtools|ms-|2.1.3 isort|ms-|2023.10.1 python|ms-|2023.16.0 vscode-pylance|ms-|2023.9.30 jupyter|ms-|2023.8.1002501831 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.17 vscode-jupyter-cell-tags|ms-|0.1.8 vscode-jupyter-slideshow|ms-|0.1.5 cmake-tools|ms-|1.15.31 cpptools|ms-|1.17.5 cpptools-extension-pack|ms-|1.3.0 bracketeer|pus|1.3.1 java|red|1.23.0 LiveServer|rit|5.7.9 cmake|twx|0.0.17 intellicode-api-usage-examples|Vis|0.2.8 vscodeintellicode|Vis|1.2.30 vscode-gradle|vsc|3.12.2023092801 vscode-java-debug|vsc|0.54.0 vscode-java-dependency|vsc|0.23.1 vscode-java-pack|vsc|0.25.14 vscode-java-test|vsc|0.40.0 vscode-maven|vsc|0.42.0 (2 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492cf:30256860 vstes627:30244334 vslsvsres303:30308271 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263cf:30335440 vscoreces:30445986 vscod805:30301674 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593cf:30376535 pythonvs932:30410667 py29gd2263:30792226 vsclangdf:30486550 c4g48928:30535728 dsvsc012cf:30540253 pynewext54:30695312 azure-dev_surveyone:30548225 2e4cg342:30602488 89544117:30613380 showlangstatbar:30737416 0bi6i642:30841073 03d35959:30757346 pythonfmttext:30731395 fixshowwlkth:30771522 showindicator:30805244 pythongtdpath:30769146 i26e3531:30792625 pythonnosmt12:30797651 pythonidxpt:30805730 pythonnoceb:30805159 copilotsettingc:30839828 dsvsc013:30795093 dsvsc014:30804076 diffeditorv1:30821571 dsvsc015:30845448 ```
ge to send. Please paste.
VSCodeTriageBot commented 11 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.82.3. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

anunknowperson commented 11 months ago

Same problem

roblourens commented 11 months ago

Please file an issue on the C++ extension repo