Repository navigation
Closed as not planned
Closed as not planned
Copy link
Labels
*caused-by-extensionIssue identified to be caused by an extension
Description
Type: Performance Issue
Yersterday Visual Studio Code worked without any issues.
Today I get this weird error and the debugger don't work AT ALL.
I tried to reinstall Visual Studio, restarting my pc and much more but nothing worked.
Can someone help?
EDIT: After a long time I managed to fix the problem by downgrading the C/C++ extension to V1.29.3, so if you also have this error you can try downgrading your extension too...
VS Code version: Code 1.120.0 (0958016, 2026-05-12T20:17:22Z)
OS version: Windows_NT x64 10.0.26200
Modes:
Remote OS version: Linux x64 6.6.87.2-microsoft-standard-WSL2
System Info
| Item | Value |
|---|---|
| CPUs | 13th Gen Intel(R) Core(TM) i5-1335U (12 x 2496) |
| GPU Status | 2d_canvas: enabled GPU0: VENDOR= 0x8086, DEVICE=0xa7a1 [Intel(R) Iris(R) Xe Graphics], DRIVER_VENDOR=Intel, DRIVER_VERSION=32.0.101.7084 ACTIVE GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8328 Machine model name: Machine model version: 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 skia_graphite: disabled_off trees_in_viz: disabled_off video_decode: enabled video_encode: enabled webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) | undefined |
| Memory (System) | 31.68GB (17.22GB free) |
| Process Argv | --crash-reporter-id 40168885-c396-4926-9d18-cbba711f74db |
| Screen Reader | no |
| VM | 0% |
| Item | Value |
|---|---|
| Remote | WSL: Ubuntu |
| OS | Linux x64 6.6.87.2-microsoft-standard-WSL2 |
| CPUs | 13th Gen Intel(R) Core(TM) i5-1335U (12 x 0) |
| Memory (System) | 15.46GB (14.15GB free) |
| VM | 0% |
Process Info
CPU % Mem MB PID Process
0 161 23404 code
0 132 3784 file-watcher [1]
1 222 9288 gpu-process
0 154 12732 extension-host [1]
0 111 10824 electron-nodejs (wslDaemon.js)
0 32 17380 crashpad-handler
0 439 17620 window [1] (AA.cpp - ddd [WSL: Ubuntu] - Visual Studio Code)
0 147 17816 shared-process
0 133 23664 "C:\Users\gyhki\AppData\Local\Programs\Microsoft VS Code\Code.exe" "c:\Users\gyhki\AppData\Local\Programs\Microsoft VS Code\0958016b2a\resources\app\out\bootstrap-fork" ms-vscode.cppdbg "{\"common.vscodemachineid\":\"2b04d3140d95b088329b8b7812771e4579bb4e4255ff714888883223b7d6bc71\",\"common.vscodesessionid\":\"5ac5bf7f-85cd-4624-848e-c42b6e68b4201778862648523\"}" 0c6ae279ed8443289764825290e4f9e2-1a736e7c-1324-4338-be46-fc2a58ae4d14-7255
0 52 22944 utility-network-service
Remote: WSL: Ubuntu
CPU % Mem MB PID Process
0 142 418 remote-server
0 63 698 ptyHost
0 0 20032 /usr/bin/bash --init-file /home/gyhki/.vscode-server/bin/0958016b2af9f09bb4257e0df4a95e2f90590f9f/out/vs/workbench/contrib/terminal/common/scripts/shellIntegration-bash.sh
0 0 21955 /usr/bin/bash --init-file /home/gyhki/.vscode-server/bin/0958016b2af9f09bb4257e0df4a95e2f90590f9f/out/vs/workbench/contrib/terminal/common/scripts/shellIntegration-bash.sh
0 0 22632 /bin/sh /tmp/Microsoft-MIEngine-Cmd-xsld0plq.jaz
0 32 22634 /usr/bin/gdb --interpreter=mi --tty=/dev/pts/5
0 0 22647 /home/gyhki/ddd/Traening/CSES/SortingAndSearching/ConcertTickets
0 0 22886 /usr/bin/bash --init-file /home/gyhki/.vscode-server/bin/0958016b2af9f09bb4257e0df4a95e2f90590f9f/out/vs/workbench/contrib/terminal/common/scripts/shellIntegration-bash.sh
0 0 23463 /bin/sh /tmp/Microsoft-MIEngine-Cmd-im2fsmck.rrd
0 32 23465 /usr/bin/gdb --interpreter=mi --tty=/dev/pts/6
0 0 23479 /home/gyhki/ddd/Traening/CSES/SortingAndSearching/AA
0 47 19985 fileWatcher
0 285 19996 extension-host
0 47 20075 /home/gyhki/.vscode-server/extensions/ms-vscode.cpptools-1.32.2-linux-x64/bin/cpptools
0 63 21277 /home/gyhki/.vscode-server/bin/0958016b2af9f09bb4257e0df4a95e2f90590f9f/node /home/gyhki/.vscode-server/bin/0958016b2af9f09bb4257e0df4a95e2f90590f9f/extensions/json-language-features/server/dist/node/jsonServerMain --node-ipc --clientProcessId=19996
0 0 24144 /bin/sh -c /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
0 0 24145 /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
Workspace Info
| Remote: WSL: Ubuntu| Folder (ddd): 362 files| File types: cpp(168) 0(21) Identifier(7) json(5) out(5) in(2) h(1)
| pdb(1)
| Conf files: tasks.json(3) launch.json(2)
| Launch Configs: cppdbg(4);
Extensions (5)
| Extension | Author (truncated) | Version |
|---|---|---|
| remote-wsl | ms- | 0.104.3 |
| cmake-tools | ms- | 1.23.52 |
| cpp-devtools | ms- | 0.5.13 |
| cpptools | ms- | 1.32.2 |
| cpptools-extension-pack | ms- | 1.5.1 |
(1 theme extensions excluded)
A/B Experiments
vsliv368:30146709
pythonvspyt551cf:31249601
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
6abeh943:31336334
envsactivate1:31505457
cloudbuttont:31379625
3efgi100_wstrepl:31403338
ec5jj548:31422691
cp_cls_c_966_ss:31454199
inlinechat_v2_hd992725:31505030
4je02754:31466945
8hhj4413:31478653
cp_cls_c_1081:31454833
conptydll_true:31498968
e9c30283:31461165
test_treatment2:31471001
46204921:31447328
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
chat:31457767
7e187181:31503455
ghj88844:31499326
ddid_t:31478206
hmra_i5g22:31509478
getcmakediagnosticson:31489824
7df3h592:31512476
cp_cls_c_1082:31504161
logging_enabled_new:31498466
j0d79568:31499440
jb_cp_cls_c_632:31510883
56dj4588:31512888
cg448276_tst_on:31514358
32d76977:31512328
ha629193:31508444
539gd155_c:31506875
jh5f2457_c:31515489
prpt_ctrl:31513641
Reacted by James Dolan and miopix
Reacted by Jasper van Doornmalen
Metadata
Metadata
Assignees
Labels
*caused-by-extensionIssue identified to be caused by an extension
Activity
ascholerChemeketa commentedon May 15, 2026
I am seeing the same issue when VSCode running in a Codespace tries to start GDB.
This template worked until yesterday. Today it causes the issue described above:
https://github.com/ChemeketaCS/TemplateBasicProject
playmyskay commentedon May 16, 2026
Hi,
in my case the issue was caused by debuginfod:
debuginfod.ubuntu.comis currently unreachable, but debuginfod is still enabled in GDB. Because of this, VS Code appeared to hang when starting the debug session, as GDB was waiting for the unresponsive debuginfod server.The workaround that works for me is to start VS Code with an empty
DEBUGINFOD_URLSvariable:With this, GDB no longer tries to contact
debuginfod.ubuntu.com, and the debug session starts as expected.gyhkijffk commentedon May 16, 2026
playmyskay thank you for your response and your solution sounds like a solution that would likely work.
Sandly I am (ironically) very bad at Visual Studio technics so can you explain exactly how you do this?
Thank you:)
ascholerChemeketa commentedon May 16, 2026
I can't get a debuginfod related solution to work in a codespace.
I set
set debuginfod enabled offin/etc/gdb/gdbinit.GDB startup shows:
But the debugger still hangs on startup. If I let it sit until the network times out, it eventually spits out:
I have found that downgrading ms-vscode.cpptools to 1.29.3 allows the debugger to start up correctly. Any version after 1.30.3 results in the hang.
Possibly some interaction between vscode 1.20, ms-vscode.cpptools 1.30+ and ubuntu's debuginfod?
vs-code-engineering commentedon May 16, 2026
This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines. If you don't know which extension is causing the problem, you can run
Help: Start extension bisectfrom the command palette (F1) to help identify the problem extension.Happy Coding!
BigTako commentedon May 17, 2026
I was debugging a C program on Ubuntu Server virtual machine from my Windows 11 host with VSCode and GDB and ancountered the same problem.
VSCode debugger stuck after launch and resumes after ~10 minutes. I’ve traced the loggs and noticed, that resume happens after this message:
The
DEBUGINFOD_URLSis set tohttps://debuginfod.ubuntu.com/. I’ve tried to reach it manually, and it is unreachable.gyhkijffk commentedon May 17, 2026
Yeah that is one to one my problem!
Hopefully someone can fix it soon, because it is affecting a lot of people...
Also it is just a very weird bug almost impossible to fix.
Like I tried to restart my pc, redownload Visual Studio, reset the settings, remake the .json files and much more but nothing worked.
Also for you Alexander Shcherbatov (@BigTako) did the debugger just worked as it should after 10 minutes or?
gyhkijffk commentedon May 17, 2026
roblourens can you explain what you exactly mean with "caused by-extension", because I don't know how any extension would cause the problem as I only have the basic ones (C/C++, WSL etc...).
Anyway thank you for the help:)
BigTako commentedon May 17, 2026
gyhkijffk Yeah, exactly. I've disabled fetching the debuginfo by adding such setting into
launch.json:Then, it stopped to stuck, but i've received new error:
ERROR: Unable to start debugging. Unexpected GDB output from command "-exec-run". No executable file specified. Use the "file" or "exec-file" command.. To fix this i've manually added a command to specify executable file intocustomLaunchSetupCommands, so now it looks like this:Now, the debugger finally works, it seems. However, i still don't know the reason of it stopped recognizing the program file, although my
launch.jsoncontains this setting"program": "/home/alex/shared/stack/pidm". And for some reason, aftermainfunction returns, it throws me intolibc_start_call_main.h🙈.P.S.: Btw it works on latest version (1.32.2) of C\C++VSCode extention
gyhkijffk commentedon May 17, 2026
Thank you for the idea Alexander Shcherbatov (@BigTako) although I am a bit confused about where you add the new code in the launch.json file, so can you show the exact place so I can try it out tomorrow?
Also this is my DEBUG CONSOLE message I guess you got something like that too?
=thread-group-added,id="i1"
GNU gdb (Ubuntu 15.1-1ubuntu1~24.04.1) 15.1
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
https://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Warning: Debuggee TargetArchitecture not detected, assuming x86_64.
=cmd-param-changed,param="pagination",value="off"
Downloading separate debug info for system-supplied DSO at 0x7ffff7fc3000...
Download failed: Timer expired. Continuing without separate debug info for system-supplied DSO at 0x7ffff7fc3000.
Stopped due to shared library event (no libraries added or removed)
Loaded '/lib64/ld-linux-x86-64.so.2'. Symbols loaded.
Downloading separate debug info for /lib/x86_64-linux-gnu/libstdc++.so.6...
Download failed: Timer expired. Continuing without separate debug info for /lib/x86_64-linux-gnu/libstdc++.so.6.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Downloading separate debug info for /lib/x86_64-linux-gnu/libgcc_s.so.1...
Oh also it would probably continue with this infinity loop of trying to download new things if I didn't stop the program...
BigTako commentedon May 17, 2026
Yea, of course. Here is the full version of
launch.json:Yep, my output is pretty much the same. It says, that it has loaded some libraries, then stucks and then prints the exact same error and resumes after 10 minutes.
KingPungy commentedon May 19, 2026
Running WSL2 Ubuntu_24_04.
After apt update and upgrade.
can confirm installing cpptools 1.29.3 worked in my case.
audax1764 commentedon May 20, 2026
Confirm the same, cpptools 1.29.3 worked for me.
OT: Very annoying, spent 2 hours trying to get a simple skeleton program in "hello world" state to debug on linux, almost went crazy.
gyhkijffk commentedon May 20, 2026
KingPungy and audax1764 thank you for the hint about downgrading the C/C++ extension:)
It also worked for me so now everything is fixed!
BlueGear77 commentedon May 21, 2026
I set debuginfod off in the
/etc/gdb/gdbinitlike Andrew Scholer (@ascholerChemeketa) suggested, and I also set the$DEBUGINFOD_URLSvariable to an empty string in my .bashrc file for extra measure. Then debugging worked after downgrading to version 1.29.3 of the C/C++ extension! Thanks! This was driving me nuts!DaddyBob1 commentedon Jun 30, 2026
It also worked for me so now everything is fixed!
i will also try all the other versions to see just where it failed.
This caused a lot of pain as the AI in brave browser did not have this fix/data/info??
So i played a little, found that there is a new version out just now... 1.33.2
It works!!!!