Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-ui-dev] CDT Edit hangs for many seconds

I am running Eclipse 3.2 with CDT 3.1.2, which appear to be the current
levels, on Ubuntu 9.04 and I find the CDT editor is impossible to use
because it keeps hanging up for many seconds.  For example just now I had to
correct several lines that contained "instance.member" to "instance->member"
because I had forgotten that I had a pointer to instance instead of a
reference to instance.  Each time I replaced the . with the -> Eclipse hung
for about a minute!  While waiting I worked on an unrelated task, but
Eclipse was hogging so much of the system with whatever it was doing that
everything was painfully slow.

The program that I am editing is trivial at the moment, because I am just
starting to write it.  The problem seems to be that it is using a very large
and complex set of includes, the wxWidget package.  I presume that when I
change the . to a -> the CDT goes off to examine the declaration of the
class that the instance belonged to.  I turned off the indexer, but that
made no difference.

It is a severe loss of productivity to have to edit the source in a separate
tool since I have to split the screen between Eclipse displaying the error
flags on its copy of the source, while I edit the source in another app.
-- 
View this message in context: http://www.nabble.com/CDT-Edit-hangs-for-many-seconds-tp24018279p24018279.html
Sent from the Eclipse CDT - UI mailing list archive at Nabble.com.



Back to the top