3

I am trying to use Ganymede CDT to index our large codebase. It is painfully slow, can take a whole night to index the C++ files. Same project takes only 5 seconds to index with exuberant ctags 5.7.

Is there some way to find what the root of the problem is and to speed it up? Maybe turn on logging in CDT, or some obscure option somewhere that I missed?

Evgeny
  • 6,533
  • 5
  • 58
  • 64
  • You should report this on the cdt-dev@eclipse.org mailinglist. I don't believe too many CDT developers are reading SO. – JesperE Nov 13 '08 at 10:37
  • Which Indexer mode are use using (Fast or Full)? Also, how many lines of code are you talking about? – Pat Notz Nov 13 '08 at 14:48

3 Answers3

1

If you use the "full indexer" this would not surprise me. I'm using the "fast indexer", it is very fast and works pretty well (even with wxWidgets).

You can change your indexer settings in Window->Preferences->C/C++->Indexer.

Seika
  • 179
  • 4
0

Do you know if this is a regression from 5.0.0? In that case you should definitely open a bugreport.

Is all of your code in the same project? That may have an impact.

JesperE
  • 63,317
  • 21
  • 138
  • 197
0

We have a similar problem with Eclipse under Windows; in our case, it is because of an old version of cygwin.

To know if you have the same issue, just check with Process Explorer if Eclipse spawns cygpath.exe, and it does not complete in a reasonable time.
In case this is the cause of the problem, then it is enough to just put the last version of cygpath.exe and cygwin1.dll in eclipse directory, and then you are done.

Good luck!

rob
  • 36,896
  • 2
  • 55
  • 65