Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » eclipse hangs on "Open Type" command
eclipse hangs on "Open Type" command [message #175490] Thu, 26 August 2004 17:05 Go to next message
Eclipse UserFriend
I'm using 3.0 and jdk 1.4.2_05 on winXP. My computer is fast and has a
gig RAM. I've also got the startup command configured to "–vmargs
–Xms128M -Xmx256M".

Sometimes eclipse seems to get in a state where doing a "Open Type",
i.e. ctrl-shift-T, hangs. It pops up a a dialog entitled "Progress
Information" that says "Searching..." and has a progress bar. But it
doesn't progress. I can leave it there for 10 minutes or more and
nothing happens. This can sometimes be fixed by doing a rebuild, a
refresh, or an open and close project. Other times -- like right now --
I can't fix it.

Strangly, on a related note, when this is occuring I have no problem
completing a class name in a java source file with ctrl-<Space>.

Any ideas?
Re: eclipse hangs on "Open Type" command [message #175513 is a reply to message #175490] Thu, 26 August 2004 17:08 Go to previous messageGo to next message
Eclipse UserFriend
As a followup w/ more info:

I've got one project open w/ about 1500 java files. they are split up
between to subdirs under the project. The two subdirs are in CVS.

Is there some caching or something that I can clear up that isn't
cleaned when I do a rebuild/refresh/open-close?



jeff barrett wrote:

> I'm using 3.0 and jdk 1.4.2_05 on winXP. My computer is fast and has a
> gig RAM. I've also got the startup command configured to "–vmargs
> –Xms128M -Xmx256M".
>
> Sometimes eclipse seems to get in a state where doing a "Open Type",
> i.e. ctrl-shift-T, hangs. It pops up a a dialog entitled "Progress
> Information" that says "Searching..." and has a progress bar. But it
> doesn't progress. I can leave it there for 10 minutes or more and
> nothing happens. This can sometimes be fixed by doing a rebuild, a
> refresh, or an open and close project. Other times -- like right now --
> I can't fix it.
>
> Strangly, on a related note, when this is occuring I have no problem
> completing a class name in a java source file with ctrl-<Space>.
>
> Any ideas?
Re: eclipse hangs on "Open Type" command [message #175521 is a reply to message #175490] Thu, 26 August 2004 17:14 Go to previous messageGo to next message
Eclipse UserFriend
Also, strangly, "Open Resource" or ctrl-shift-R still works like a charm.


jeff barrett wrote

> I'm using 3.0 and jdk 1.4.2_05 on winXP. My computer is fast and has a
> gig RAM. I've also got the startup command configured to "–vmargs
> –Xms128M -Xmx256M".
>
> Sometimes eclipse seems to get in a state where doing a "Open Type",
> i.e. ctrl-shift-T, hangs. It pops up a a dialog entitled "Progress
> Information" that says "Searching..." and has a progress bar. But it
> doesn't progress. I can leave it there for 10 minutes or more and
> nothing happens. This can sometimes be fixed by doing a rebuild, a
> refresh, or an open and close project. Other times -- like right now --
> I can't fix it.
>
> Strangly, on a related note, when this is occuring I have no problem
> completing a class name in a java source file with ctrl-<Space>.
>
> Any ideas?
Re: eclipse hangs on "Open Type" command [message #175535 is a reply to message #175490] Thu, 26 August 2004 18:00 Go to previous messageGo to next message
Eclipse UserFriend
Can not really help but perhaps this can give you a hint

just a quote
from cghp8g$sae$1@eclipse.org

>We don't know about this problem. If you want to track it down, can you
>please add a .options file (say in c:\temp\.options) with the following
>content:
>
># Turn on debug tracing for org.eclipse.jdt.core plugin
>org.eclipse.jdt.core/debug=true
># Reports incremental builder activity : nature of build, built state
>reading, indictment process
>org.eclipse.jdt.core/debug/builder=true
>
>Then start eclipse with the following option:
>eclipse.exe -debug c:\temp\.options -vm <path to your jdk>\jre\bin\java.exe

You can use ctrl+break to get the a state of the threads. So press
ctrl+t and look what thread is doing wich job.

martin
Re: eclipse hangs on "Open Type" command [message #175563 is a reply to message #175535] Fri, 27 August 2004 02:38 Go to previous messageGo to next message
Eclipse UserFriend
I recognized part of my post :-) But this would not apply entirely. The Java
builder is not involved in the Open type... operation. You might want to
trace the index manager activity instead:

# Reports background indexer activity: indexing, saving index file, index
queries
org.eclipse.jdt.core/debug/indexmanager=true

Jerome

"Martin M
Re: eclipse hangs on "Open Type" command [message #175595 is a reply to message #175563] Fri, 27 August 2004 05:01 Go to previous message
Eclipse UserFriend
>I recognized part of my post :-) But this would not apply entirely. The Java
>builder is not involved in the Open type... operation.
># Reports background indexer activity: indexing, saving index file, index
>queries
>org.eclipse.jdt.core/debug/indexmanager=true

I always learn the most when posting false things ;).
Good to know that the indexer has debug messages too.

martin
Previous Topic:Associate *.java in Windows with Eclipse
Next Topic:How to restart eclipse programmatically?
Goto Forum:
  


Current Time: Mon May 12 01:24:39 EDT 2025

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

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

Back to the top