Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » "is currently not part of the index"
"is currently not part of the index" [message #262344] Thu, 31 July 2008 22:50 Go to next message
Eclipse UserFriend
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-
Re: "is currently not part of the index" [message #262347 is a reply to message #262344] Fri, 01 August 2008 02:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: codeslave.ca.ibm.com

Sounds like a C/C++ question. Copying CDT newsgroup, eclipse.tools.cdt.

Harlan Zamora wrote:
> 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-
>

--
Nick Boldt :: Release Engineer, IBM Toronto Lab
Eclipse Modeling :: http://www.eclipse.org/modeling
http://wiki.eclipse.org/index.php/User:Nickb
Re: "is currently not part of the index" [message #262420 is a reply to message #262347] Fri, 01 August 2008 20:33 Go to previous message
Eclipse UserFriend
Originally posted by: harlan.zamora.yahoo.com

Thank you Nick for forwarding my question to eclipse.tools.cdt.

regards,

Harlan-
Previous Topic:Eclipse Web Tools, publishing failed
Next Topic:GANTT chart plugin
Goto Forum:
  


Current Time: Fri Apr 26 08:13:54 GMT 2024

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

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

Back to the top