1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-03-28 14:56:28 +01:00

Add some links for CDT indexer FAQ

This commit is contained in:
Jonah Graham 2022-10-07 10:39:32 -04:00
parent 4ba3cd99c2
commit 89677a612e

View file

@ -104,5 +104,6 @@ See [Setup for CDT Development](https://github.com/eclipse-cdt/cdt/blob/main/CON
#### Classes of interest
- org.eclipse.cdt.internal.core.dom.parser.ProblemBinding: When you have a "Symbol 'foo' could not be resolved" error, put a breakpoint in the constructors of this class and you can work your way back in the stack where/why the parsing produced this.- org.eclipse.cdt.internal.core.parser.scanner.CPreprocessor.executeInclude: This method is where the CDT preprocessor handles \#include.
This can be a useful starting point if you want to debug why a header is not resolved or the wrong one is included or skipped, etc.
- [org.eclipse.cdt.internal.core.dom.parser.ProblemBinding](https://github.com/eclipse-cdt/cdt/blob/main/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/ProblemBinding.java): When you have a "Symbol 'foo' could not be resolved" error, put a breakpoint in the constructors of this class and you can work your way back in the stack where/why the parsing produced this.
- [org.eclipse.cdt.internal.core.parser.scanner.CPreprocessor](https://github.com/eclipse-cdt/cdt/blob/main/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/CPreprocessor.java).executeInclude: This method is where the CDT preprocessor handles \#include.
This can be a useful starting point if you want to debug why a header is not resolved or the wrong one is included or skipped, etc.