Issue Type: Bug
The C/C++ extension worked fine for over a year, and then two weeks ago code-tracing features completely stopped working
- suggestions and autocomplete
- Go to Definition
- Go to Declaration
- Go to References
- onMouseOver descriptions
all stopped working. They either search forever, returning no results, or they immediately respond with "No definition found for x", "No references found for x". There are no suggestions or autocomplete or onMouseOver response at all.
I can write
bool foo = true;
foo = false;
and if I select GoToDefinition on the second line it will no "No definition found for foo". The extension doesn't work for variables, for methods, for classes, within a single file, across files, anywhere, anytime.
I have VSCode installed on a macbook ssh-ing in to a linux workstation. I'm running VSCode 1.62.0-Insider and C/C++ Extension v1.6.0.
I have:
- Uninstalled/reinstalled the C/C++ extension. No change.
- Upgraded to C/C++ v1.7.0, which crashes instantly.
- Uninstalled/reinstalled VSCode. No change.
- Uninstalled VSCode Insiders and installed VSCode Regular. No change.
- Disabled all other extensions. No change.
- Deleted all the caches I could find and reinstalled everything, after which GoToDefinition and other features worked normally for a few hours, then stopped working again:
- on my linux workstation
- rm -r ~/.cache/vscode-cpptools
- on my mac
- rm -fr ~/Applications/vscode
- rm -fr ~/Library/Preferences/vscode
- rm -fr ~/Library/Caches/vscode
- rm -fr ~/Library/Application\ Support/Code/
- rm -fr ~/Library/Saved\ Application\ State/vscode
- rm -fr ~/.vscode*
(mac does not have a cpptools cache under home directory because the extension is installed on the remote)
Any recommendations? Any other caches I can delete? Has anyone else seen the extension just completely break down like this, multiple times in a row?
Extension version: 1.7.0
VS Code version: Code - Insiders 1.62.0-insider (Universal) (729d81623815a428160b93e930054a1a2a5403ef, 2021-10-18T05:21:54.840Z)
OS version: Darwin x64 20.6.0
Restricted Mode: No
Remote OS version: Linux x64 4.4.0-213-generic
System Info
| Item |
Value |
| CPUs |
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600) |
| GPU Status |
2d_canvas: enabled gpu_compositing: enabled metal: disabled_off multiple_raster_threads: enabled_on oop_rasterization: enabled opengl: enabled_on rasterization: enabled skia_renderer: disabled_off_ok video_decode: enabled webgl: enabled webgl2: enabled |
| Load (avg) |
2, 1, 2 |
| Memory (System) |
16.00GB (3.13GB free) |
| Process Argv |
--crash-reporter-id 0157a282-35a0-4928-be2f-0864763e35ca |
| Screen Reader |
no |
| VM |
0% |
| Item |
Value |
| Remote |
SSH: 10.65.110.188 |
| OS |
Linux x64 4.4.0-213-generic |
| CPUs |
Intel(R) Xeon(R) Gold 6226R CPU @ 2.90GHz (4 x 2899) |
| Memory (System) |
62.92GB (8.80GB free) |
| VM |
100% |
A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30291494
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30291487
pythontb:30258533
vsc_aa:30263845
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
pythonvsuse255:30319630
vscod805:30301674
pythonvspyt200:30323110
vsccppwt:30382699
pythonvssor306:30340298
bridge0708:30335490
pygetstartedt2:30353727
bridge0723:30353136
pythonrunftest32:30365365
pythonf5test824:30361779
javagetstartedt:30350119
pythonvspyt187:30365360
pydsgst2:30361790
vsqsis200cf:30381675
vsaa593:30376534
Issue Type: Bug
The C/C++ extension worked fine for over a year, and then two weeks ago code-tracing features completely stopped working
all stopped working. They either search forever, returning no results, or they immediately respond with "No definition found for x", "No references found for x". There are no suggestions or autocomplete or onMouseOver response at all.
I can write
bool foo = true;
foo = false;
and if I select GoToDefinition on the second line it will no "No definition found for foo". The extension doesn't work for variables, for methods, for classes, within a single file, across files, anywhere, anytime.
I have VSCode installed on a macbook ssh-ing in to a linux workstation. I'm running VSCode 1.62.0-Insider and C/C++ Extension v1.6.0.
I have:
(mac does not have a cpptools cache under home directory because the extension is installed on the remote)
Any recommendations? Any other caches I can delete? Has anyone else seen the extension just completely break down like this, multiple times in a row?
Extension version: 1.7.0
VS Code version: Code - Insiders 1.62.0-insider (Universal) (729d81623815a428160b93e930054a1a2a5403ef, 2021-10-18T05:21:54.840Z)
OS version: Darwin x64 20.6.0
Restricted Mode: No
Remote OS version: Linux x64 4.4.0-213-generic
System Info
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
A/B Experiments