Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » How to prevent CDT from hanging?
How to prevent CDT from hanging? [message #116698] Mon, 23 August 2004 13:18 Go to next message
Eclipse UserFriend
Originally posted by: e.egberts.tantec.de

I am editing a project and the CDT always hangs - the CPU goes to 100%
and that lasts very long time making me unable to go on. I deactivated
everything I can find (C++ Indexer and Content Assist parsing) but the
problem goes on. I was not able to deactivate the outline view (closing
it doesn't seem to matter) and it could be the reason for the problem,
because when it is flickering sometimes there are not even keyboard
inputs accepted. There is a syntax check making little red wavelines - I
remember activating it, but I forgot how and now failed to deactivate
it. Does anyone know how to deactivate these things and is there
something more I can stop wasting my time?

I think it is a fundamental problem of this editor giving user inputs
lowest priority. For example inputs should stop content assist instead
of beeing ignored until something was found. No background activity
should be able to prevent user from editing text.
Re: How to prevent CDT from hanging? [message #116857 is a reply to message #116698] Tue, 24 August 2004 06:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: e.egberts.tantec.de

> I am editing a project and the CDT always hangs - the CPU goes to 100%
> and that lasts very long time making me unable to go on.

Right now I found this to be a frequently asked question (but not
contained in FAQ) and a know bug.

> I was not able to deactivate the outline view (closing
> it doesn't seem to matter)

The solution was too easy to see it: It is not enough to close the
outline view, but closing eclipse and restarting with closed outline
does the job.
Re: How to prevent CDT from hanging? [message #116867 is a reply to message #116857] Tue, 24 August 2004 09:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alain.nowhere.ca

Edzard Egberts wrote:

> > I am editing a project and the CDT always hangs - the CPU goes to 100%
> > and that lasts very long time making me unable to go on.

> Right now I found this to be a frequently asked question (but not
> contained in FAQ) and a know bug.

> > I was not able to deactivate the outline view (closing
> > it doesn't seem to matter)

> The solution was too easy to see it: It is not enough to close the
> outline view, but closing eclipse and restarting with closed outline
> does the job.

Another possible solution, disable walking through the inclusion
Window --> Preference --> C/C++

"Follow includes when parsing .."

It may change the behaviour of some actions but you will get the outliner
back
Re: How to prevent CDT from hanging? [message #116892 is a reply to message #116867] Tue, 24 August 2004 10:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: e.egberts.tantec.de

Hello alain,

> Another possible solution, disable walking through the inclusion
> Window --> Preference --> C/C++
>
> "Follow includes when parsing .."
>
> It may change the behaviour of some actions but you will get the outliner
> back

I did this before and it doesn't work. It is the sixth project I
imported to Eclipse, but the first that makes problems like this. The
reason is obvious, it is the largest one and contains some header files
with more than 1500 lines and object files with more than 4000 lines.

It is absolutely impossible to use outline, because my system (it is not
the fastest) starts hanging every time when editing and this lasts up to
30 minutes or more - yesterday I killed Eclipse nearly every quarter
hour by task manager and I was not very fond of that. But now I can go
on and wait for the next version, which is announced to correct this bug
(and I hope other features like content assist will be usable too).
Using this early version was a mistake, but now it is too late to switch
back...

Thank you,

Ed
Re: How to prevent CDT from hanging? [message #117090 is a reply to message #116892] Tue, 24 August 2004 18:07 Go to previous messageGo to next message
Eclipse UserFriend
"Edzard Egberts" <e.egberts@tantec.de> wrote in message
news:cgfhpr$eu3$1@eclipse.org...
> Hello alain,
>
> I did this before and it doesn't work. It is the sixth project I
> imported to Eclipse, but the first that makes problems like this. The
> reason is obvious, it is the largest one and contains some header files
> with more than 1500 lines and object files with more than 4000 lines.
> ...
> Using this early version was a mistake, but now it is too late to switch
> back...
>
> Thank you,
>

Ed,

We've run into similar problems attempting to use Eclipse as an IDE for
porting a very large project: almost 3,000 .cpp files, and 1600 header
files.

Our solution has been to move away from using Eclipse in our day to day
work, and use hand-crafted makefiles instead -developers just use their
editor of choice on any given platform. Our productivity has jumped at
least 10 fold.

I think Eclipse/CDT just wasn't designed with large projects (and large
files) in mind. .

We're still *hoping* that we'll be able to do enough piece-meal debugging in
Eclipse to get us past the initial hump of "runs,... but maybe not
correctly". Where we go from there, I'm not certain. Either a commercial
grade debugger or just slugging it out with gdb from the command line.

-- Dave
Re: How to prevent CDT from hanging? [message #117126 is a reply to message #117090] Wed, 25 August 2004 05:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: e.egberts.tantec.de

Hello Dave,

> almost 3,000 .cpp files, and 1600 header files.

I'm productive, but thats not the dimension of my work. ;o)

> We're still *hoping* that we'll be able to do enough piece-meal debugging in
> Eclipse to get us past the initial hump of "runs,... but maybe not
> correctly". Where we go from there, I'm not certain. Either a commercial
> grade debugger or just slugging it out with gdb from the command line.

I used two commercial systems before, Borland C++ 5.01 (calling it Body
Count PlusPLus) and VC 6. This time Eclipse is much better than BC and
lacks a bit compared to VC 6 editor. But the G++ doesn't enrage me with
tons of STL warnings and non standard C++ and because of writing very
fast, content assist often is more disturbing, than helping.

Eclipse is a very ambitious project and it seems to me, the CDT guys had
been a little late, when Eclipse 3.0 appeared - I know how things like
that are going. ;o)

Recapitulating I would say, there are some problems and some things to
learn, before using Eclipse really productive, but I had similar
problems using commercial systems and I think Eclipse is going to be a
very good alternative. Looking at the whole system (now using only non
commercial development tools) I'm more productive than ever before.

Ed
Re: How to prevent CDT from hanging? [message #117202 is a reply to message #117126] Wed, 25 August 2004 09:29 Go to previous message
Eclipse UserFriend
>
> Recapitulating I would say, there are some problems and some things to
> learn, before using Eclipse really productive, but I had similar
> problems using commercial systems and I think Eclipse is going to be a
> very good alternative. Looking at the whole system (now using only non
> commercial development tools) I'm more productive than ever before.
>

I agree. I find myself rooting for Eclipse/CDT to succeed (it's a very cool
project), and get upset when it fails. A lot like being a parent to
teenagers... or like being a NY Jets fan <g>.

-- Dave
Previous Topic:Unable to find Library file
Next Topic:endian conversion...
Goto Forum:
  


Current Time: Thu May 01 09:03:46 EDT 2025

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

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

Back to the top