"is currently not part of the index" [message #262344] |
Thu, 31 July 2008 18:50  |
Eclipse User |
|
|
|
Originally posted by: harlan.zamora.yahoo.com
Hi,
I am new to Eclipse and I running into the the following error when trying
to use the Call Hierarchy in eclipse:
"The file header_PRIV.h is currently not part of the index"
I am working with some complex code that for example purposes I have
simplified for my question to the following:
header.h
---------
class Header
{
public:
Header();
~Header();
private:
#include "header_PRIV.h"
};
header_PRIV.h
-------------
Example();
AnotherExample()
header.cpp
----------
#include "header.h"
Header::Header()
{
}
Header::~Header()
{
}
Header::Example()
{
cout << "Example" << endl;
AnotherExample();
}
Header::AnotherExample()
{
cout << "AnotherExample" << endl;
}
When I use the Eclipse Call Hierchy on either Example() or
AnotherExample() I am unable to see the call tree. I am guessing that the
issue has to do with the way the header.h file includes "#include
"headerFile_PRIV.h" as it's private attribute. I don't see this issue on
public methods, on public methods I can actually see the call tree upwards
and downwards.
I have enabled under my project Indexer preferences "Fast C/C++ Indexer"
as well as "Full C/C++ Indexer", and had the checkmark for "Index all
files". But even after this, I am still unable to use the call tree on the
private methods mentioned.
Is there a way I can tell eclipse to see this or some feature or setting
that I may need to select?
Thanks
Harlan-
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08211 seconds