You can trace the application and use the option ‘org.eclipse.cdt.core/debug/indexer/problems=true’.
Markus.
Tracing the CDT indexer:
* use command line option -debug <options-file>
* put the following in the options file:
# turns on tracing for the cdt-core plugin
org.eclipse.cdt.core/debug=true
# Reports sequence of files indexed
org.eclipse.cdt.core/debug/indexer/activity=false
# Reports statistics for indexer
org.eclipse.cdt.core/debug/indexer/statistics=false
# Reports unresolved inclusions for indexer
org.eclipse.cdt.core/debug/indexer/problems/inclusion=false
# Reports scanner-problems for indexer (other than unresolved includes)
org.eclipse.cdt.core/debug/indexer/problems/scanner=false
# Reports syntax-problems for indexer
org.eclipse.cdt.core/debug/indexer/problems/syntax=false
# Reports problems for indexer, including inclusion-, scanner-, syntax- and resolution-problems.
org.eclipse.cdt.core/debug/indexer/problems=false
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Yevgeny Shifrin
Sent: Thursday, August 04, 2011 08:56
To: CDT General developers list.
Subject: Re: [cdt-dev] indexing results difference between CDT 7.0.x and CDT 8.0
Importance: Low
Hi,
Thank you for your reply.
Is there a way to produce a full list of unresolved symbols/names? I've seen an option to provide a list of "Unresolved Includes" but it does not help.
BTW: As I mentioned below, CDT 8.0 M7 had indexing statistics similar to CDT 7.0.2. How many milestones there are between CDT 8.0 M7 and CDT 8.0 official release. If there are
not many, I could check them and narrow in which milestone this regression was introduced. Is there a link where I could find all CDT 8.0 milestones?
Thanks,
Yevgeny
Try to find examples of unresolved symbols and syntax errors that were not present in CDT 7.0.2, and then try to find patterns in them. Ideally you should be able to produce small reproducible examples and create bugs based on them.
-sergey
On Wed, Aug 3, 2011 at 5:10 AM, Yevgeny Shifrin <Yevgeny.Shifrin@xxxxxxxxxxx> wrote:
I am working on big C++ code base. I see difference in indexing results between CDT 7.0.x and CDT 8.0 on exactly the same project with the same configurations.
Indexed 'proj1' (several dozen
K of sources and headers) in 2,602.16 sec: ~2M declarations; ~11M+17544 references; ~1K unresolved inclusions; ~1K syntax errors;
~80K unresolved names
Indexed 'proj1' (several dozen
K of sources and headers) in 3,428.65 sec: ~2M+35 declarations; ~11M references; ~1K unresolved inclusions; ~1K+25 syntax errors;
~200K unresolved names
I would like to understand the root cause for this difference. Is there a regression in CDT 8.0 behavior, or other reason? In CDT 8.0 M7 the statistics were similar to CDT 7.0.2.
Is it possible that between CDT 8.0 M7 and CDT 8.0 release, change was submitted that causes this regression. From indexing functionality point of view (in the last month) I did not see regression in CDT 8.0 in compare to CDT 7.0.2. At least in one case CDT
8.0 was "smarter" than CDT 7.0.2.
I would appreciate any comments suggestion on this issue.
This e-mail message is intended for the recipient only and contains information which is CONFIDENTIAL and which may be proprietary to ECI Telecom. If you have received this transmission in error, please inform us by e-mail, phone or fax, and then delete
the original and all copies thereof.
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev
This e-mail message is intended for the recipient only and contains information which is CONFIDENTIAL and which may be proprietary to ECI Telecom. If you have received this transmission in error, please inform us by e-mail, phone or fax, and then delete
the original and all copies thereof.