Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » [BUG] Outline keeps getting stuck in an infinite loop
[BUG] Outline keeps getting stuck in an infinite loop [message #108793] Sat, 03 July 2004 22:54 Go to next message
Eclipse UserFriend
Using Eclipse-3.0 (GTK version) and CDT-2.0 on Fedora Core 2 Linux using
j2sdk1.4.2, as soon as I make the slightest change to a file the Outline
window starts flashing like mad and CPU load maxes out. It seems that
the outline function is stuck in an infinite loop trying to update for
the change I have made. Sometimes, but not always, the symptoms
disappear when I save the file. Removing the outline from the display
does not cure the problem once it has started.

Peter
Re: [BUG] Outline keeps getting stuck in an infinite loop [message #108819 is a reply to message #108793] Mon, 05 July 2004 01:12 Go to previous messageGo to next message
Eclipse UserFriend
exquisitus wrote:
> Using Eclipse-3.0 (GTK version) and CDT-2.0 on Fedora Core 2 Linux using
> j2sdk1.4.2, as soon as I make the slightest change to a file the Outline
> window starts flashing like mad and CPU load maxes out. It seems that
> the outline function is stuck in an infinite loop trying to update for
> the change I have made. Sometimes, but not always, the symptoms
> disappear when I save the file. Removing the outline from the display
> does not cure the problem once it has started.

Killing the editor (i.e. closing the file) and reopening it results in
an outline display without the looping behaviour (until the next change
is made).

Peter
Re: [BUG] Outline keeps getting stuck in an infinite loop [message #108908 is a reply to message #108819] Mon, 05 July 2004 08:03 Go to previous messageGo to next message
Eclipse UserFriend
How is the loop infinite if you are able to close the editor?
Please raise a defect @ bugs.eclipse.org on CDT and explain your scenario,
your configuration and hopefully with a snippet of source code that causes
the problem.

Thanks
JC

"exquisitus" <pwil3058@bigpond.net.au> wrote in message
news:ccanvb$2rb$1@eclipse.org...
> exquisitus wrote:
> > Using Eclipse-3.0 (GTK version) and CDT-2.0 on Fedora Core 2 Linux using
> > j2sdk1.4.2, as soon as I make the slightest change to a file the Outline
> > window starts flashing like mad and CPU load maxes out. It seems that
> > the outline function is stuck in an infinite loop trying to update for
> > the change I have made. Sometimes, but not always, the symptoms
> > disappear when I save the file. Removing the outline from the display
> > does not cure the problem once it has started.
>
> Killing the editor (i.e. closing the file) and reopening it results in
> an outline display without the looping behaviour (until the next change
> is made).
>
> Peter
>
Re: [BUG] Outline keeps getting stuck in an infinite loop [message #109146 is a reply to message #108908] Mon, 05 July 2004 19:44 Go to previous messageGo to next message
Eclipse UserFriend
johnc wrote:
> How is the loop infinite if you are able to close the editor?

I would suppose that "multi tasking" is the answer to this question.
One thread being in an infinite loop doesn't stop other threads from
doing work - it just makes it difficult for them to get CPU access.

> Please raise a defect @ bugs.eclipse.org on CDT and explain your scenario,
> your configuration and hopefully with a snippet of source code that causes
> the problem.

OK.

>
> Thanks
> JC
>
> "exquisitus" <pwil3058@bigpond.net.au> wrote in message
> news:ccanvb$2rb$1@eclipse.org...
>
>>exquisitus wrote:
>>
>>>Using Eclipse-3.0 (GTK version) and CDT-2.0 on Fedora Core 2 Linux using
>>>j2sdk1.4.2, as soon as I make the slightest change to a file the Outline
>>>window starts flashing like mad and CPU load maxes out. It seems that
>>>the outline function is stuck in an infinite loop trying to update for
>>>the change I have made. Sometimes, but not always, the symptoms
>>>disappear when I save the file. Removing the outline from the display
>>>does not cure the problem once it has started.
>>
>>Killing the editor (i.e. closing the file) and reopening it results in
>>an outline display without the looping behaviour (until the next change
>>is made).
>>
>>Peter
>>
>
>
>
Re: [BUG] Outline keeps getting stuck in an infinite loop [message #109158 is a reply to message #108908] Mon, 05 July 2004 19:44 Go to previous messageGo to next message
Eclipse UserFriend
johnc wrote:
> How is the loop infinite if you are able to close the editor?

I would suppose that "multi tasking" is the answer to this question.
One thread being in an infinite loop doesn't stop other threads from
doing work - it just makes it difficult for them to get CPU access.

> Please raise a defect @ bugs.eclipse.org on CDT and explain your scenario,
> your configuration and hopefully with a snippet of source code that causes
> the problem.

OK.

>
> Thanks
> JC
>
> "exquisitus" <pwil3058@bigpond.net.au> wrote in message
> news:ccanvb$2rb$1@eclipse.org...
>
>>exquisitus wrote:
>>
>>>Using Eclipse-3.0 (GTK version) and CDT-2.0 on Fedora Core 2 Linux using
>>>j2sdk1.4.2, as soon as I make the slightest change to a file the Outline
>>>window starts flashing like mad and CPU load maxes out. It seems that
>>>the outline function is stuck in an infinite loop trying to update for
>>>the change I have made. Sometimes, but not always, the symptoms
>>>disappear when I save the file. Removing the outline from the display
>>>does not cure the problem once it has started.
>>
>>Killing the editor (i.e. closing the file) and reopening it results in
>>an outline display without the looping behaviour (until the next change
>>is made).
>>
>>Peter
>>
>
>
>
Re: [BUG] Outline keeps getting stuck in an infinite loop [message #109339 is a reply to message #109158] Tue, 06 July 2004 14:37 Go to previous messageGo to next message
Eclipse UserFriend
the reason why I ask is that "infinite looping" in the outline or editor
usually locks the UI thread, and thus makes it impossible to close the
editor.


"exquisitus" <pwil3058@bigpond.net.au> wrote in message
news:cccp45$k4e$1@eclipse.org...
> johnc wrote:
> > How is the loop infinite if you are able to close the editor?
>
> I would suppose that "multi tasking" is the answer to this question.
> One thread being in an infinite loop doesn't stop other threads from
> doing work - it just makes it difficult for them to get CPU access.
>
> > Please raise a defect @ bugs.eclipse.org on CDT and explain your
scenario,
> > your configuration and hopefully with a snippet of source code that
causes
> > the problem.
>
> OK.
>
> >
> > Thanks
> > JC
> >
> > "exquisitus" <pwil3058@bigpond.net.au> wrote in message
> > news:ccanvb$2rb$1@eclipse.org...
> >
> >>exquisitus wrote:
> >>
> >>>Using Eclipse-3.0 (GTK version) and CDT-2.0 on Fedora Core 2 Linux
using
> >>>j2sdk1.4.2, as soon as I make the slightest change to a file the
Outline
> >>>window starts flashing like mad and CPU load maxes out. It seems that
> >>>the outline function is stuck in an infinite loop trying to update for
> >>>the change I have made. Sometimes, but not always, the symptoms
> >>>disappear when I save the file. Removing the outline from the display
> >>>does not cure the problem once it has started.
> >>
> >>Killing the editor (i.e. closing the file) and reopening it results in
> >>an outline display without the looping behaviour (until the next change
> >>is made).
> >>
> >>Peter
> >>
> >
> >
> >
>
Re: [BUG] Outline keeps getting stuck in an infinite loop [message #109473 is a reply to message #109339] Tue, 06 July 2004 18:56 Go to previous messageGo to next message
Eclipse UserFriend
johnc wrote:
> the reason why I ask is that "infinite looping" in the outline or editor
> usually locks the UI thread, and thus makes it impossible to close the
> editor.

Some editing functionality is lost when the (let's call it "apparent")
"infinite looping" occurs (e.g. cut and copy don't work while the
looping is occurring) but not all (e.g. paste works and I can type into
the editor and save the file to disk). Closer inspection of the load
meter shows that the system isn't totally maxed out so it's
possible/likely that there's a short pause between each loop.

I think that the association with change is significant because opening
an editor on exactly the same file (with the change included) and the
outline is created without any problems but as soon as I make the
slightest change the looping starts again.
Re: [BUG] Outline keeps getting stuck in an infinite loop [message #109485 is a reply to message #109339] Tue, 06 July 2004 18:58 Go to previous message
Eclipse UserFriend
johnc wrote:
> the reason why I ask is that "infinite looping" in the outline or editor
> usually locks the UI thread, and thus makes it impossible to close the
> editor.

Some editing functionality is lost when the (let's call it "apparent")
"infinite looping" occurs (e.g. cut and copy don't work while the
looping is occurring) but not all (e.g. paste works and I can type into
the editor and save the file to disk). Closer inspection of the load
meter shows that the system isn't totally maxed out so it's
possible/likely that there's a short pause between each loop.

I think that the association with change is significant because opening
an editor on exactly the same file (with the change included) and the
outline is created without any problems but as soon as I make the
slightest change the looping starts again.

PS. My mailer refuses to send mail to your Reply-To address
(news.eclipse.org)
Previous Topic:Extension point for syntax highlighting/Code template
Next Topic:Problems including header files
Goto Forum:
  


Current Time: Tue Jul 08 21:57:57 EDT 2025

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

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

Back to the top