-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
Type: LanguageService
When I select a source file in the left pane, it creates an outline of the functions and classes in that file. I noticed that it suddenly could not load the symbols for a specific file in my list. I have encountered this problem once before and the workaround was to either rename the file and then rename it back, or go into ..Library../ipch folder and delete the cached intellisense symbols. But this time, that did not help. Reverting back to v 1.1.3 did help. I notice the problem a few days agp so it does seem to match the upgrade to 1.2.0 of the extension. It takes some time to recreate the symbols after the cache was cleared but it does not get stuck.
I think the child-process/thread is stuck since it cannot perform other tasks like switching between .h and .cpp file. Editing, open, save files works though.
Describe the bug
- OS and Version:
- VS Code Version:
- C/C++ Extension Version:
- Other extensions you installed (and if the issue persists after disabling them):
- Does this issue involve using SSH remote to run the extension on a remote machine?:
- A clear and concise description of what the bug is, including information about the workspace (i.e. is the workspace a single project or multiple projects, size of the project, etc).
Steps to reproduce
Try it on a fairly big C++ project.
Perhaps clear the symbol cache to have it reproduce outline symbols for each file you select in the left pane.
Click around on the files in the left pane. It seems that if you wait for the symbol load to complete it has a greater chance of surviving. If click on 3-4 files in sequence, it seems to get stuck easier.
If you cannot reproduce this in a project with multiple files containing at least 2000 lines, I guess it is specific to my project content in combination with version 1.2.0.
Expected behavior
Symbol generation to not getting stuck. Swapping between .h and .cpp file to work.
Logs looks normal and just stop logging at the file it gets stuck parsing.
Screenshots
Left pane looks as it usually does when loading symbols. It just does not complete.