Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Indexer/parser problems

Hi,

I noticed some degradation of the indexer/parser. Usually nearly all of the files in my project (some several thousand C++ source code files, C++-17 set as standard, gcc 9 on Linux, makefile project based on cmake) are correctly indexed and I can happily and successfully parse and search my source code. In my opinion one of the strongest (if not *the* best) feature of Eclipse CDT.

However, for some releases (since 2020-09?) now I encounter many problems. Many of my source code files are full of red markers "invalid arguments..". Searching for symbol occurrences, generating call hierarchy, doing some refactoring etc. no longer works flawlessly.


Rebuilding the index does not help. Includes are resolved. The strange thing is that even basic functions, defines, classes are marked as invalid. There are even cases where a define is okay in one file but generates problems in other files

Rebuilding the index I identified some messages in the error log and created some bugzilla entries (or added my comments to existing ones):

https://bugs.eclipse.org/bugs/show_bug.cgi?id=574854

https://bugs.eclipse.org/bugs/show_bug.cgi?id=560860

https://bugs.eclipse.org/bugs/show_bug.cgi?id=511260

https://bugs.eclipse.org/bugs/show_bug.cgi?id=574865

https://bugs.eclipse.org/bugs/show_bug.cgi?id=511260


I don't know if these errors are the only cause of the indexer/parser problems. Sometimes I guess the indexer stops somehow before it is completely finished. I have increased the memory for the indexer database but it did not help.

I am using Eclipse CDT now for more than 14 years on a daily basis and was able to solve many problems but now I am running out of ideas. And the poor quality of the indexer/parser makes me really think about switching the IDE because it makes my daily work very frustrating. Any ideas/help is welcome.

  Axel

Back to the top