Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Inconsistent/erratic (indexer?) source code navigating behavior in Mars.1 , .2(Fails to jump from decl to def, but only for some functions, while being able to go in opposite direction. Inconsistent display of inheritance trees)
Inconsistent/erratic (indexer?) source code navigating behavior in Mars.1 , .2 [message #1729034] Sat, 09 April 2016 16:14
Eclipse UserFriend
Rather frustrating to say the least.

When working with a C++14 project source (around 1000 files), frequently it fails to jump from a member declaration in .h to definition in .cpp. Yet, for other member functions of the same class it does it w/o issues.

Index sizing set to 512MB, plenty of RAM given to jvm.

Example code below.

Another issue - when asking to see class in type hierarchy, it would randomly show and miss some of the ancestors - literally between successive invocation of type hierarchy displays

############# Proxygen source code #########

.h file:

class EchoHandler : public proxygen::RequestHandler {
public:
explicit EchoHandler(EchoStats* stats);

void onRequest(std::unique_ptr<proxygen::HTTPMessage> headers)
noexcept override;

void onBody(std::unique_ptr<folly::IOBuf> body) noexcept override;

void onEOM() noexcept override;

void onUpgrade(proxygen::UpgradeProtocol proto) noexcept override;

void requestComplete() noexcept override;

void onError(proxygen::ProxygenError err) noexcept override;

private:
EchoStats* const stats_{nullptr};

std::unique_ptr<folly::IOBuf> body_;
};

It would jump between decl/definition for all the functions just fine, except for onRequest(..) and onBody(...) - may be due to presence of std::unique_ptr ?




Previous Topic:Mars2 on Mac OS X: LLVM with clang (Mac OS X) not available?
Next Topic:I try to do eclipse in linux
Goto Forum:
  


Current Time: Sat Nov 08 08:51:09 EST 2025

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

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

Back to the top