Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Indexer does not open declarations consistently
Indexer does not open declarations consistently [message #230609] Mon, 23 February 2009 11:08 Go to next message
David Aldrich is currently offline David AldrichFriend
Messages: 13
Registered: July 2009
Junior Member
Hi

I am running the Wascana release 0.9.3, which I believe uses CDT 4.0. The
code is for a DSP, built using a Texas Instruments compiler. I have not
configured CDT to build the code, I just want to use the indexer to help
analyse the code. The code consists mainly of .c files.

I have set the indexer properties to 'Index all files (files neither built
nor included, also)' and rebuilt the index.

I find that the index finds the declarations of some functions but not
others. In particular, if I select a global variable that is declared in
another .c file, clicking F3 does not jump to the declaration.

Please will you offer me advice on how to debug or improve this situation?

Best regards

David
Re: Indexer does not open declarations consistently [message #230628 is a reply to message #230609] Mon, 23 February 2009 15:44 Go to previous messageGo to next message
David Aldrich is currently offline David AldrichFriend
Messages: 13
Registered: July 2009
Junior Member
I have discovered that some global variables were not indexed because of a
missing header file that defined their type.

I can't find the indexer's error log that I guess would alert me to such
problems. How can I view the log please?

David
Re: Indexer does not open declarations consistently [message #230865 is a reply to message #230628] Thu, 26 February 2009 13:55 Go to previous message
Anton Leherbauer is currently offline Anton LeherbauerFriend
Messages: 490
Registered: July 2009
Senior Member
David Aldrich wrote:
> I have discovered that some global variables were not indexed because of
> a missing header file that defined their type.
>
> I can't find the indexer's error log that I guess would alert me to such
> problems. How can I view the log please?
>
> David
>

To create a parser log file:
> select file in Project Explorer
> Right Click > Index > Create Parser Log

To search for unresolved includes:
> select project in PE
> Right click > Index > Search for Unresolved Includes

HTH
--
Anton Leherbauer
Wind River Systems, Austria
CDT Committer - http://www.eclipse.org/cdt
Previous Topic:incorrect variable values
Next Topic:Entries in "Debug as" menu...
Goto Forum:
  


Current Time: Fri Sep 27 02:50:23 GMT 2024

Powered by FUDForum. Page generated in 0.04156 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top