-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C/C++ Extension code-tracing features completely stopped working #8295
Comments
@TravisLlado Extension version 1.7.1 was just release that has some fixes to some crashes. Could you try installing that version? Also in order to delete or reset the IntelliSense database cache, use the command |
@TravisLlado For getting the callstack during the repro:
|
When I start VSCode, all C/C++ extension features work as expected for a few minutes. After 5-10 minutes, console debug just shows endless pages of
“
Tag parsing encountered an error, but it may not matter. Let us know if symbols in the file can’t be found: /…/filename.h
tag parsing file: /…/filename.h
“
… On Oct 20, 2021, at 1:14 PM, kenroser ***@***.***> wrote:
I updated to version 1.7.1 and reset the IntelliSense database. Still getting miserable performance (it reverts to Tag Parser after a crash. This sort of thing show up in the log.
IntelliSense process crash detected.
IntelliSense engine is not responding. Using the Tag Parser instead.
using Tag Parser for quick info
IntelliSense process crash detected.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
@TravisLlado That is normal logging. It's tag parsing files in your workspace. You can add paths to C_Cpp.files.exclude if you don't want them parsed (or remove the folders from the C_Cpp.default.browse.path or the equivalent setting in c_cpp_properties.json). You can also click the database icon in the status bar and choose to Pause Workspace Parsing. Do you think there's something abnormal going on still? |
version 1.71 |
@xubaotian That call stack is a duplicate of #8337 which will have the fix available in our next insiders release (probably next week or early the following week). I don't have enough info from @TravisLlado to determine if that's the same issue or not. |
This issue has been closed automatically because it needs more information and has not had recent activity. |
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
The text was updated successfully, but these errors were encountered: