Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » pdt 1.1 freezes eclipse
pdt 1.1 freezes eclipse [message #74990] Sat, 05 July 2008 18:55 Go to next message
Robert Gruendler is currently offline Robert GruendlerFriend
Messages: 18
Registered: July 2009
Junior Member
Hi all,

i'm having an issue here with PDT 1.1.0 and eclipse 3.4.0 on Windows Vista.

In some cases eclipse totally freezes for 10-15 seconds when moving
the cursor over a method call on an object, ie someobject->foo().

I've already turned off Occurence Marking, and taken out any additional
libraries in the project preferences, restarted eclipse using the -clean
flag.

Anyone has an idea what might going on during those 10 seconds, or how to
track this problem down ?

Thanks!


Robert Gruendler
Re: pdt 1.1 freezes eclipse [message #75001 is a reply to message #74990] Sun, 06 July 2008 05:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: codeslave.ca.ibm.com

You could try starting Eclipse with these flags to debug things:

-console (to enable the osgi console)
-noexit (so that the osgi console won't exit if Eclipse exists, in case
you want to close Eclipse and keep console-debugging -- exit by typing
"exit" or CTRL-C)
-consolelog (to dump the same info to the local console as in
workspace/.metadata/.log)
-debug (more verbose console output)

Robert Gruendler wrote:
> I'm having an issue here with PDT 1.1.0 and eclipse 3.4.0 on Windows Vista.
> In some cases eclipse totally freezes for 10-15 seconds when moving
> the cursor over a method call on an object, ie someobject->foo().
>
> I've already turned off Occurence Marking, and taken out any additional
> libraries in the project preferences, restarted eclipse using the -clean
> flag.
>
> Anyone has an idea what might going on during those 10 seconds, or how
> to track this problem down ?
> Thanks!

--
Nick Boldt :: Release Engineer, IBM Toronto Lab
Eclipse Modeling :: http://www.eclipse.org/modeling
http://wiki.eclipse.org/index.php/User:Nickb
Re: pdt 1.1 freezes eclipse [message #75005 is a reply to message #74990] Sun, 06 July 2008 10:23 Go to previous messageGo to next message
Roy Ganor is currently offline Roy GanorFriend
Messages: 149
Registered: July 2009
Senior Member
Can you share with us a specific case where this happens? Code snippet is
welcome!

Thanks for reporting,
Re: pdt 1.1 freezes eclipse [message #75013 is a reply to message #75005] Sun, 06 July 2008 11:19 Go to previous messageGo to next message
David Muir is currently offline David MuirFriend
Messages: 63
Registered: July 2009
Member
I've been having the same issue. I'll try to get a full report tomorrow.
Is there a bug already open for this issue? I've looked a couple of times
this past week, but couldn't find anything. Also, when will the first
milestone be out? The wiki says today, but the front page says 2 months
ago...
Re: pdt 1.1 freezes eclipse [message #75057 is a reply to message #75013] Mon, 07 July 2008 10:01 Go to previous messageGo to next message
Robert Gruendler is currently offline Robert GruendlerFriend
Messages: 18
Registered: July 2009
Junior Member
Here's the complete log output when starting eclipse with the following
flags:

-console -noexit -consolelog -debug

************************ START LOG ***********************************
Start VM: -Xms40m
-Xmx256m
-XX:MaxPermSize=256m
-Djava.class.path=C:\Users\sobert\Desktop\eclipse\plugins\or g.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar
-os win32
-ws win32
-arch x86
-showsplash
C:\Users\sobert\Desktop\eclipse\\plugins\org.eclipse.platfor m_3.3.100.v200806172000\splash.bmp
-launcher C:\Users\sobert\Desktop\eclipse\eclipse.exe
-name Eclipse
--launcher.library
C:\Users\sobert\Desktop\eclipse\plugins\org.eclipse.equinox. launcher.win32.win32.x86_1.0.100.v20080509-1800\eclipse_1114 .dll
-startup
C:\Users\sobert\Desktop\eclipse\plugins\org.eclipse.equinox. launcher_1.0.100.v20080509-1800.jar
-console
-noexit
-consolelog
-debug
-vm C:\Program Files\Java\jre1.6.0_06\bin\client\jvm.dll
-vmargs
-Xms40m
-Xmx256m
-XX:MaxPermSize=256m
-Djava.class.path=C:\Users\sobert\Desktop\eclipse\plugins\or g.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar
Install location:
file:/c:/Users/sobert/Desktop/eclipse/
Configuration file:
file:/c:/Users/sobert/Desktop/eclipse/configuration/config.i ni loaded
Configuration location:
file:/c:/Users/sobert/Desktop/eclipse/configuration/
Framework located:

file:/c:/Users/sobert/Desktop/eclipse/plugins/org.eclipse.os gi_3.4.0.v20080605-1900.jar
Framework classpath:

file:/c:/Users/sobert/Desktop/eclipse/plugins/org.eclipse.os gi_3.4.0.v20080605-1900.jar
Splash location:

C:\Users\sobert\Desktop\eclipse\\plugins\org.eclipse.platfor m_3.3.100.v200806172000\splash.bmp
Debug options:
file:/C:/Users/sobert/Desktop/eclipse/.options not found

osgi> Time to load bundles: 16
Starting application: 1872
!SESSION 2008-07-07 11:51:27.447
-----------------------------------------------
eclipse.buildId=I20080617-2000
java.version=1.6.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_AT
Command-line arguments: -os win32 -ws win32 -arch x86 -console
-consolelog -debug

!ENTRY org.eclipse.ui 2 0 2008-07-07 11:51:31.472
!MESSAGE Warnings while parsing the key bindings from the
'org.eclipse.ui.commands' extension point
!SUBENTRY 1 org.eclipse.ui 2 0 2008-07-07 11:51:31.488
!MESSAGE Cannot bind to an undefined command:
plug-in='org.eclipse.tm.terminal', id='org.eclipse.tm.terminal.command1'
!SUBENTRY 1 org.eclipse.ui 2 0 2008-07-07 11:51:31.488
!MESSAGE Cannot bind to an undefined command:
plug-in='org.eclipse.tm.terminal', id='org.eclipse.tm.terminal.command1'
!SUBENTRY 1 org.eclipse.ui 2 0 2008-07-07 11:51:31.488
!MESSAGE Cannot bind to an undefined command:
plug-in='org.eclipse.tm.terminal', id='org.eclipse.tm.terminal.command1'
!SUBENTRY 1 org.eclipse.ui 2 0 2008-07-07 11:51:31.488
!MESSAGE Cannot bind to an undefined command:
plug-in='org.eclipse.tm.terminal', id='org.eclipse.tm.terminal.command1'
!SUBENTRY 1 org.eclipse.ui 2 0 2008-07-07 11:51:31.503
!MESSAGE Cannot bind to an undefined command:
plug-in='org.eclipse.tm.terminal', id='org.eclipse.tm.terminal.command1'
!SUBENTRY 1 org.eclipse.ui 2 0 2008-07-07 11:51:31.534
!MESSAGE Cannot bind to an undefined command:
plug-in='org.eclipse.tm.terminal', id='org.eclipse.tm.terminal.command1'
!SUBENTRY 1 org.eclipse.ui 2 0 2008-07-07 11:51:31.550
!MESSAGE Cannot bind to an undefined command:
plug-in='org.eclipse.tm.terminal', id='org.eclipse.tm.terminal.command1'
!SUBENTRY 1 org.eclipse.ui 2 0 2008-07-07 11:51:31.581
!MESSAGE Cannot bind to an undefined command:
plug-in='org.eclipse.tm.terminal', id='org.eclipse.tm.terminal.command1'
!SUBENTRY 1 org.eclipse.ui 2 0 2008-07-07 11:51:31.597
!MESSAGE Cannot bind to an undefined command:
plug-in='org.eclipse.tm.terminal', id='org.eclipse.tm.terminal.command1'
!SUBENTRY 1 org.eclipse.ui 2 0 2008-07-07 11:51:31.628
!MESSAGE Cannot bind to an undefined command:
plug-in='org.eclipse.tm.terminal', id='org.eclipse.tm.terminal.command1'

!ENTRY org.eclipse.jface 2 0 2008-07-07 11:51:44.888
!MESSAGE Keybinding conflicts occurred. They may interfere with normal
accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2008-07-07 11:51:44.919
!MESSAGE A conflict occurred for CTRL+I:
Binding(CTRL+I,

ParameterizedCommand(Command(org.eclipse.wst.sse.ui.format.a ctive.elements,Format
Active Elements,
Format active elements,
Category(org.eclipse.ui.category.edit,Edit,null,true),

LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui.texteditor.TextOperationAction@e6f8d7)),
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.php.ui.phpEditorScope,,,system)
Binding(CTRL+I,

ParameterizedCommand(Command(org.eclipse.wst.sse.ui.format.a ctive.elements,Format
Active Elements,
Format active elements,
Category(org.eclipse.ui.category.edit,Edit,null,true),

LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui.texteditor.TextOperationAction@e6f8d7)),
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.wst.sse.ui.structuredTextEditorScope,,,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2008-07-07 11:51:45.106
!MESSAGE A conflict occurred for CTRL+SHIFT+F:
Binding(CTRL+SHIFT+F,

ParameterizedCommand(Command(org.eclipse.wst.sse.ui.format.d ocument,Format,
Format selection,
Category(org.eclipse.ui.category.edit,Edit,null,true),

LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui.texteditor.TextOperationAction@1db2215)),
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.php.ui.phpEditorScope,,,system)
Binding(CTRL+SHIFT+F,

ParameterizedCommand(Command(org.eclipse.wst.sse.ui.format.d ocument,Format,
Format selection,
Category(org.eclipse.ui.category.edit,Edit,null,true),

LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui.texteditor.TextOperationAction@1db2215)),
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.wst.sse.ui.structuredTextEditorScope,,,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2008-07-07 11:51:45.278
!MESSAGE A conflict occurred for CTRL+SHIFT+P:
Binding(CTRL+SHIFT+P,

ParameterizedCommand(Command(org.eclipse.php.ui.editor.goto. matching.bracket,Go
to Matching Bracket,
Moves the cursor to the matching bracket,

Category(org.eclipse.ui.category.navigate,Navigate,null,true ),

LegacyHandlerWrapper(ActionHandler(action= org.eclipse.php.internal.ui.actions.GotoMatchingBracketActio n @19ac2e3)),
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.php.ui.phpEditorScope,,,system)
Binding(CTRL+SHIFT+P,

ParameterizedCommand(Command(org.eclipse.wst.sse.ui.goto.mat ching.bracket,Matching
Bracket,
Go to Matching Bracket,

Category(org.eclipse.ui.category.navigate,Navigate,null,true ),

org.eclipse.wst.sse.ui.StructuredTextEditor$GotoMatchingBracketHandler@1710374,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.wst.sse.ui.structuredTextEditorScope,,,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2008-07-07 11:51:45.465
!MESSAGE A conflict occurred for CTRL+SHIFT+/:
Binding(CTRL+SHIFT+/,

ParameterizedCommand(Command(org.eclipse.php.ui.edit.text.ad d.block.comment,Add
Block Comment,
Enclose the selection with a block comment,
Category(org.eclipse.php.ui.category.source,Source,PHP
Source Actions,true),

LegacyHandlerWrapper(ActionHandler(action= org.eclipse.php.internal.ui.actions.AddBlockCommentActionDel egate @99c4cc)),
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.php.ui.phpEditorScope,,,system)
Binding(CTRL+SHIFT+/,

ParameterizedCommand(Command(org.eclipse.wst.sse.ui.add.bloc k.comment,Add
Block Comment,
Add Block Comment,
Category(org.eclipse.ui.category.edit,Edit,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.wst.sse.ui.structuredTextEditorScope,,,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2008-07-07 11:51:45.637
!MESSAGE A conflict occurred for F3:
Binding(F3,

ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.ja va.open.editor,Open
Declaration,
Open an editor on the selected element,

Category(org.eclipse.ui.category.navigate,Navigate,null,true ),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(F3,

ParameterizedCommand(Command(org.eclipse.php.ui.edit.text.Op enDeclaration,Open
Declaration,
Open the declaration of the selected element,
Category(org.eclipse.ui.category.edit,Edit,null,true),

LegacyHandlerWrapper(ActionHandler(action=org.eclipse.php.internal.ui.actions.OpenDeclarationAction@147480e)),
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.php.ui.phpEditorScope,,,system)
Binding(F3,

ParameterizedCommand(Command(org.eclipse.wst.sse.ui.open.fil e.from.source,Open
Selection,
Open an editor on the selected link,
Category(org.eclipse.ui.category.edit,Edit,null,true),

LegacyHandlerWrapper(ActionHandler(action= org.eclipse.wst.sse.ui.internal.hyperlink.OpenHyperlinkActio n @cbbdf3)),
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.wst.sse.ui.structuredTextEditorScope,,,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2008-07-07 11:51:45.902
!MESSAGE A conflict occurred for CTRL+SHIFT+\:
Binding(CTRL+SHIFT+\,

ParameterizedCommand(Command(org.eclipse.php.ui.edit.text.re move.block.comment,Remove
Block Comment,
Remove the block comment enclosing the selection,
Category(org.eclipse.php.ui.category.source,Source,PHP
Source Actions,true),

LegacyHandlerWrapper(ActionHandler(action= org.eclipse.php.internal.ui.actions.RemoveBlockCommentAction Delegate @23af64)),
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.php.ui.phpEditorScope,,,system)
Binding(CTRL+SHIFT+\,

ParameterizedCommand(Command(org.eclipse.wst.sse.ui.remove.b lock.comment,Remove
Block Comment,
Remove Block Comment,
Category(org.eclipse.ui.category.edit,Edit,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.wst.sse.ui.structuredTextEditorScope,,,system)
Application Started: 19141

!ENTRY org.eclipse.wst.common.project.facet.core 4 0 2008-07-07 11:51:48.367
!MESSAGE Project facet jst.web has not been defined. It is used in
plugin org.eclipse.wst.jsdt.web.core.

!ENTRY org.eclipse.wst.common.project.facet.core 4 0 2008-07-07 11:51:48.507
!MESSAGE Project facet jst.web has not been defined. It is used in
plugin org.eclipse.wst.jsdt.web.core.


*************************** END LOG ***********************************

This is the output of eclipse during startup, without any interaction.
There is no more output when moving the cursor over a method call,
resulting in the already mentioned freeze. The freeze only occurs upon
certain method calls of external library objects, in my case falls
to objects of the Doctrine ORM library, or calls to objects of the
symfony library.

Eclipse recovers from the freeze after about 10-15 seconds, there is
no more debug output afterwards.


Again, my system specs:

Windows Vista Ultimate SP1 32 bit
Eclipse 3.4.0
PDT 1.1.0


I hope this is somewhat useful.


best

-robert




David Muir schrieb:
> I've been having the same issue. I'll try to get a full report tomorrow.
> Is there a bug already open for this issue? I've looked a couple of
> times this past week, but couldn't find anything. Also, when will the
> first milestone be out? The wiki says today, but the front page says 2
> months ago...
>
Re: pdt 1.1 freezes eclipse [message #75110 is a reply to message #75005] Mon, 07 July 2008 21:37 Go to previous messageGo to next message
Sean Burlington is currently offline Sean BurlingtonFriend
Messages: 18
Registered: July 2009
Junior Member
Roy Ganor wrote:
> Can you share with us a specific case where this happens? Code snippet
> is welcome!
>
> Thanks for reporting,
>

Hi,

I'm having similar problems

Eclipse just halts for 10 seconds or so at a time

It happens at various points

* selecting text
* while typing
* while deleting

I haven't noticed a problem with hovering...

Sadly it's making eclipse pretty much unusable :-(

Also auto-complete is only picking up about half the functions available
(and open declaration doesn't work on the missing functions)

I'm working on a large Drupal project, running on Ubuntu Linux (Sun Java 6)

--

Sean
Re: pdt 1.1 freezes eclipse [message #75195 is a reply to message #74990] Tue, 08 July 2008 08:50 Go to previous messageGo to next message
Michael Spector is currently offline Michael SpectorFriend
Messages: 110
Registered: July 2009
Senior Member

I think I've fixed this bug in CVS.
Please use the next nightly build, and tell us whether the problem still
exists.

Robert Gruendler wrote:
> Hi all,
>
> i'm having an issue here with PDT 1.1.0 and eclipse 3.4.0 on Windows Vista.
>
> In some cases eclipse totally freezes for 10-15 seconds when moving
> the cursor over a method call on an object, ie someobject->foo().
>
> I've already turned off Occurence Marking, and taken out any additional
> libraries in the project preferences, restarted eclipse using the -clean
> flag.
>
> Anyone has an idea what might going on during those 10 seconds, or how
> to track this problem down ?
> Thanks!
>
>
> Robert Gruendler
>
>
>
>
>
Re: pdt 1.1 freezes eclipse [message #75356 is a reply to message #75195] Tue, 08 July 2008 23:04 Go to previous messageGo to next message
Robert Gruendler is currently offline Robert GruendlerFriend
Messages: 18
Registered: July 2009
Junior Member
hi,

i tried the latest nightly build, unfortunately the problem remains the
same. any more info i could provide to help to debug?

Michael Spector schrieb:
>
> I think I've fixed this bug in CVS.
> Please use the next nightly build, and tell us whether the problem still
> exists.
>
> Robert Gruendler wrote:
>> Hi all,
>>
>> i'm having an issue here with PDT 1.1.0 and eclipse 3.4.0 on Windows
>> Vista.
>>
>> In some cases eclipse totally freezes for 10-15 seconds when moving
>> the cursor over a method call on an object, ie someobject->foo().
>>
>> I've already turned off Occurence Marking, and taken out any
>> additional libraries in the project preferences, restarted eclipse
>> using the -clean flag.
>>
>> Anyone has an idea what might going on during those 10 seconds, or how
>> to track this problem down ?
>> Thanks!
>>
>>
>> Robert Gruendler
>>
>>
>>
>>
>>
Re: pdt 1.1 freezes eclipse [message #75496 is a reply to message #75356] Wed, 09 July 2008 07:11 Go to previous messageGo to next message
Roy Ganor is currently offline Roy GanorFriend
Messages: 149
Registered: July 2009
Senior Member
well, the last nightly is identical to the integration build so the
problem was not fixed there. For some reason the nightly was not produced
(try the next nightly).
Re: pdt 1.1 freezes eclipse [message #75561 is a reply to message #75496] Thu, 10 July 2008 09:34 Go to previous messageGo to next message
Robert Gruendler is currently offline Robert GruendlerFriend
Messages: 18
Registered: July 2009
Junior Member
Tried it with the new nightly (org.eclipse.php_feature-N20080709), still
the same problem.

Here's a code snippet where the bug occurs:

$q = Doctrine_Query::create()
->from('User u' )
->where ('u.id >=20000');

$this->user = $q->fetchArray();

If the cursor is put in any of these lines, it freezes for a couple of
seconds.





Roy Ganor schrieb:
> well, the last nightly is identical to the integration build so the
> problem was not fixed there. For some reason the nightly was not
> produced (try the next nightly).
Re: pdt 1.1 freezes eclipse [message #75577 is a reply to message #75561] Thu, 10 July 2008 10:38 Go to previous messageGo to next message
Michael Spector is currently offline Michael SpectorFriend
Messages: 110
Registered: July 2009
Senior Member

One important fix is still not committed to the CVS, since it's waiting
for the next integration release of DLTK (otherwise nightly build will
not succeed). I'm sure fixed version will be built in a couple of days.

Robert Gruendler wrote:
> Tried it with the new nightly (org.eclipse.php_feature-N20080709), still
> the same problem.
>
> Here's a code snippet where the bug occurs:
>
> $q = Doctrine_Query::create()
> ->from('User u' )
> ->where ('u.id >=20000');
>
> $this->user = $q->fetchArray();
>
> If the cursor is put in any of these lines, it freezes for a couple of
> seconds.
>
>
>
>
>
> Roy Ganor schrieb:
>> well, the last nightly is identical to the integration build so the
>> problem was not fixed there. For some reason the nightly was not
>> produced (try the next nightly).
Re: pdt 1.1 freezes eclipse [message #76070 is a reply to message #75577] Wed, 16 July 2008 15:09 Go to previous messageGo to next message
Tianon Gravi is currently offline Tianon GraviFriend
Messages: 3
Registered: July 2009
Junior Member
New DTLK Integration build is released. Don't know if the issue is fixed,
but it's worth a shot.


Michael Spector wrote:
> One important fix is still not committed to the CVS, since it's waiting
> for the next integration release of DLTK (otherwise nightly build will
> not succeed). I'm sure fixed version will be built in a couple of days.

> Robert Gruendler wrote:
>> Tried it with the new nightly (org.eclipse.php_feature-N20080709), still
>> the same problem.
>>
>> Here's a code snippet where the bug occurs:
>>
>> $q = Doctrine_Query::create()
>> ->from('User u' )
>> ->where ('u.id >=20000');
>>
>> $this->user = $q->fetchArray();
>>
>> If the cursor is put in any of these lines, it freezes for a couple of
>> seconds.
>>
>>
>>
>>
>>
>> Roy Ganor schrieb:
>>> well, the last nightly is identical to the integration build so the
>>> problem was not fixed there. For some reason the nightly was not
>>> produced (try the next nightly).
Re: pdt 1.1 freezes eclipse [message #76086 is a reply to message #76070] Wed, 16 July 2008 15:22 Go to previous messageGo to next message
Michael Spector is currently offline Michael SpectorFriend
Messages: 110
Registered: July 2009
Senior Member

You are absolutely right! New PDT build, which is based on new DLTK
integration build is here:
http://download.eclipse.org/tools/pdt/downloads/release.php? release=N20080716

Tianon Gravi wrote:
> New DTLK Integration build is released. Don't know if the issue is
> fixed, but it's worth a shot.
>
>
> Michael Spector wrote:
>> One important fix is still not committed to the CVS, since it's
>> waiting for the next integration release of DLTK (otherwise nightly
>> build will not succeed). I'm sure fixed version will be built in a
>> couple of days.
>
>> Robert Gruendler wrote:
>>> Tried it with the new nightly (org.eclipse.php_feature-N20080709),
>>> still the same problem.
>>>
>>> Here's a code snippet where the bug occurs:
>>>
>>> $q = Doctrine_Query::create()
>>> ->from('User u' )
>>> ->where ('u.id >=20000');
>>>
>>> $this->user = $q->fetchArray();
>>>
>>> If the cursor is put in any of these lines, it freezes for a couple
>>> of seconds.
>>>
>>>
>>>
>>>
>>>
>>> Roy Ganor schrieb:
>>>> well, the last nightly is identical to the integration build so the
>>>> problem was not fixed there. For some reason the nightly was not
>>>> produced (try the next nightly).
>
Re: pdt 1.1 freezes eclipse [message #76504 is a reply to message #76086] Sun, 20 July 2008 13:25 Go to previous messageGo to next message
Robert Gruendler is currently offline Robert GruendlerFriend
Messages: 18
Registered: July 2009
Junior Member
I've tested the latest integration build, but the bug is still there.

Somehow i have the feeling that it might have to do something with my
setup here, as this bug pretty much makes pdt unusable and no one else
seems to have this problem.

I'll try it on a Win XP machine as ASAP, maybe it has something to do
with vista.






Michael Spector schrieb:
> You are absolutely right! New PDT build, which is based on new DLTK
> integration build is here:
> http://download.eclipse.org/tools/pdt/downloads/release.php? release=N20080716
>
>
> Tianon Gravi wrote:
>> New DTLK Integration build is released. Don't know if the issue is
>> fixed, but it's worth a shot.
>>
>>
>> Michael Spector wrote:
>>> One important fix is still not committed to the CVS, since it's
>>> waiting for the next integration release of DLTK (otherwise nightly
>>> build will not succeed). I'm sure fixed version will be built in a
>>> couple of days.
>>
>>> Robert Gruendler wrote:
>>>> Tried it with the new nightly (org.eclipse.php_feature-N20080709),
>>>> still the same problem.
>>>>
>>>> Here's a code snippet where the bug occurs:
>>>>
>>>> $q = Doctrine_Query::create()
>>>> ->from('User u' )
>>>> ->where ('u.id >=20000');
>>>>
>>>> $this->user = $q->fetchArray();
>>>>
>>>> If the cursor is put in any of these lines, it freezes for a couple
>>>> of seconds.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Roy Ganor schrieb:
>>>>> well, the last nightly is identical to the integration build so the
>>>>> problem was not fixed there. For some reason the nightly was not
>>>>> produced (try the next nightly).
>>
Re: pdt 1.1 freezes eclipse [message #76595 is a reply to message #76504] Mon, 21 July 2008 06:47 Go to previous messageGo to next message
David Muir is currently offline David MuirFriend
Messages: 63
Registered: July 2009
Member
Yeah, it's still there in the latest nightly as well (N20080720).
I was really hoping this would have been fixed by now.
Re: pdt 1.1 freezes eclipse [message #76691 is a reply to message #76595] Mon, 21 July 2008 20:24 Go to previous messageGo to next message
Robert Gruendler is currently offline Robert GruendlerFriend
Messages: 18
Registered: July 2009
Junior Member
I've tested it on an ubuntu 8.04 box, same behaviour there.


David Muir wrote:
> Yeah, it's still there in the latest nightly as well (N20080720).
> I was really hoping this would have been fixed by now.
>
Re: pdt 1.1 freezes eclipse [message #76737 is a reply to message #76691] Tue, 22 July 2008 02:42 Go to previous messageGo to next message
David Muir is currently offline David MuirFriend
Messages: 63
Registered: July 2009
Member
Well, I downloaded the latest nightly, and the latest integration build of
DLTK.
It looks like the freezing issue has been fixed (or at least vastly
improved). However, now I keep getting errors while I'm typing:

An internal error occurred during: "Processing Dirty Regions".
org.eclipse.dltk.compiler.problem.IProblemReporter.reportPro blem(Lorg/eclipse/dltk/compiler/problem/IProblem;)Lorg/eclip se/core/resources/IMarker;

An internal error occurred during: "Computing additional info".
org.eclipse.dltk.compiler.problem.IProblemReporter.reportPro blem(Lorg/eclipse/dltk/compiler/problem/IProblem;)Lorg/eclip se/core/resources/IMarker;

An error has occurred. See error log for more details.
org.eclipse.dltk.compiler.problem.IProblemReporter.reportPro blem(Lorg/eclipse/dltk/compiler/problem/IProblem;)Lorg/eclip se/core/resources/IMarker;

It's really annoying. Am I doing something wrong, or is this what other
people are getting with the latest PDT together with the new DLTK build?

Here's what I get in the error log:

java.lang.NoSuchMethodError:
org.eclipse.dltk.compiler.problem.IProblemReporter.reportPro blem(Lorg/eclipse/dltk/compiler/problem/IProblem;)Lorg/eclip se/core/resources/IMarker;
at
org.eclipse.php.internal.core.compiler.ast.parser.AbstractAS TParser.reportError(Unknown
Source)
at
org.eclipse.php.internal.core.compiler.ast.parser.AbstractAS TParser.syntax_error(Unknown
Source)
at java_cup.runtime.lr_parser.parse(lr_parser.java:595)
at
org.eclipse.php.internal.core.compiler.ast.parser.AbstractPH PSourceParser.parse(Unknown
Source)
at
org.eclipse.php.internal.core.compiler.ast.parser.php5.Php5S ourceParser.parse(Unknown
Source)
at
org.eclipse.php.internal.core.compiler.ast.parser.AbstractPH PSourceParser.parse(Unknown
Source)
at
org.eclipse.php.internal.core.compiler.ast.parser.PHPSourceP arserFactory.parse(Unknown
Source)
at
org.eclipse.dltk.core.SourceParserUtil.getModuleDeclaration( SourceParserUtil.java:106)
at
org.eclipse.dltk.core.SourceParserUtil.getModuleDeclaration( SourceParserUtil.java:52)
at
org.eclipse.dltk.core.SourceParserUtil.getModuleDeclaration( SourceParserUtil.java:28)
at
org.eclipse.dltk.core.search.matching.MatchLocatorParser.par se(MatchLocatorParser.java:27)
at
org.eclipse.dltk.core.search.matching.MatchLocator.parse(Mat chLocator.java:632)
at
org.eclipse.dltk.core.search.matching.MatchLocator.locateMat ches(MatchLocator.java:603)
at
org.eclipse.dltk.core.search.matching.MatchLocator.locateMat ches(MatchLocator.java:676)
at
org.eclipse.dltk.core.search.matching.MatchLocator.locateMat ches(MatchLocator.java:805)
at
org.eclipse.dltk.core.search.DLTKSearchParticipant.locateMat ches(DLTKSearchParticipant.java:124)
at
org.eclipse.dltk.core.search.BasicSearchEngine.findMatches(B asicSearchEngine.java:325)
at
org.eclipse.dltk.core.search.BasicSearchEngine.search(BasicS earchEngine.java:699)
at org.eclipse.dltk.core.search.SearchEngine.search(SearchEngin e.java:352)
at
org.eclipse.dltk.internal.core.hierarchy.HierarchyResolver.c omputeSubtypes(HierarchyResolver.java:86)
at
org.eclipse.dltk.internal.core.hierarchy.HierarchyResolver.r esolve(HierarchyResolver.java:53)
at
org.eclipse.dltk.internal.core.hierarchy.HierarchyResolver.r esolve(HierarchyResolver.java:237)
at
org.eclipse.dltk.internal.core.hierarchy.IndexBasedHierarchy Builder.buildForProject(IndexBasedHierarchyBuilder.java:278)
at
org.eclipse.dltk.internal.core.hierarchy.IndexBasedHierarchy Builder.buildFromPotentialSubtypes(IndexBasedHierarchyBuilde r.java:394)
at
org.eclipse.dltk.internal.core.hierarchy.IndexBasedHierarchy Builder.build(IndexBasedHierarchyBuilder.java:163)
at
org.eclipse.dltk.internal.core.hierarchy.TypeHierarchy.compu te(TypeHierarchy.java:338)
at
org.eclipse.dltk.internal.core.hierarchy.TypeHierarchy.refre sh(TypeHierarchy.java:1203)
at
org.eclipse.dltk.internal.core.CreateTypeHierarchyOperation. executeOperation(CreateTypeHierarchyOperation.java:89)
at
org.eclipse.dltk.internal.core.ModelOperation.run(ModelOpera tion.java:698)
at
org.eclipse.dltk.internal.core.ModelOperation.runOperation(M odelOperation.java:772)
at
org.eclipse.dltk.internal.core.SourceType.newTypeHierarchy(S ourceType.java:433)
at
org.eclipse.dltk.internal.core.search.HierarchyScope.createH ierarchy(HierarchyScope.java:396)
at
org.eclipse.dltk.internal.core.search.HierarchyScope.initial ize(HierarchyScope.java:405)
at
org.eclipse.dltk.internal.core.search.HierarchyScope.refresh (HierarchyScope.java:428)
at
org.eclipse.dltk.internal.core.search.HierarchyScope.enclosi ngProjectsAndZips(HierarchyScope.java:372)
at
org.eclipse.dltk.internal.core.search.IndexSelector.initiali zeIndexLocations(IndexSelector.java:143)
at
org.eclipse.dltk.internal.core.search.IndexSelector.getIndex Locations(IndexSelector.java:332)
at
org.eclipse.dltk.core.search.DLTKSearchParticipant.selectInd exes(DLTKSearchParticipant.java:166)
at
org.eclipse.dltk.internal.core.search.PatternSearchJob.getIn dexes(PatternSearchJob.java:95)
at
org.eclipse.dltk.internal.core.search.PatternSearchJob.ensur eReadyToRun(PatternSearchJob.java:62)
at
org.eclipse.dltk.internal.core.search.processing.JobManager. performConcurrentJob(JobManager.java:179)
at
org.eclipse.dltk.core.search.BasicSearchEngine.findMatches(B asicSearchEngine.java:288)
at
org.eclipse.dltk.core.search.BasicSearchEngine.search(BasicS earchEngine.java:699)
at org.eclipse.dltk.core.search.SearchEngine.search(SearchEngin e.java:352)
at
org.eclipse.php.internal.core.typeinference.PHPModelUtils.ge tClassMethodDoc(Unknown
Source)
at
org.eclipse.php.internal.core.typeinference.evaluators.phpdo c.PHPDocMethodReturnTypeEvaluator.init(Unknown
Source)
at org.eclipse.dltk.ti.GoalEngine.evaluateGoal(GoalEngine.java: 219)
at
org.eclipse.dltk.ti.DefaultTypeInferencer.evaluateType(Defau ltTypeInferencer.java:223)
at
org.eclipse.dltk.ti.DefaultTypeInferencer.evaluateType(Defau ltTypeInferencer.java:213)
at
org.eclipse.php.internal.core.typeinference.BindingUtility.g etType(Unknown
Source)
at
org.eclipse.php.internal.core.typeinference.BindingUtility.g etType(Unknown
Source)
at
org.eclipse.php.internal.core.typeinference.BindingUtility.g etType(Unknown
Source)
at
org.eclipse.php.internal.core.ast.nodes.DefaultBindingResolv er.getEvaluatedType(Unknown
Source)
at
org.eclipse.php.internal.core.ast.nodes.DefaultBindingResolv er.resolveExpressionType(Unknown
Source)
at
org.eclipse.php.internal.core.ast.nodes.DefaultBindingResolv er.resolveName(Unknown
Source)
at
org.eclipse.php.internal.core.ast.nodes.Identifier.resolveBi nding(Unknown
Source)
at
org.eclipse.php.internal.ui.actions.OpenTypeHierarchyAction. getSelectionModelElement(Unknown
Source)
at
org.eclipse.php.internal.ui.actions.OpenTypeHierarchyAction. isEnabled(Unknown
Source)
at
org.eclipse.php.internal.ui.actions.OpenTypeHierarchyAction. update(Unknown
Source)
at
org.eclipse.php.internal.ui.editor.PHPStructuredEditor.updat eAction(Unknown
Source)
at
org.eclipse.php.internal.ui.editor.PHPStructuredEditor.updat eCursorDependentActions(Unknown
Source)
at
org.eclipse.php.internal.ui.editor.PHPStructuredEditor.handl eCursorPositionChanged(Unknown
Source)
at
org.eclipse.ui.texteditor.AbstractTextEditor$18.keyPressed(A bstractTextEditor.java:2981)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:155)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1182)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1167)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1194 )
at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.ja va:698)
at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control. java:2761)
at
org.eclipse.swt.widgets.Composite.gtk_key_press_event(Compos ite.java:702)
at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1543)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4502 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4099 )
at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:57 83)
at org.eclipse.swt.widgets.Display.eventProc(Display.java:1177)
at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Na tive Method)
at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS. java:1541)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3031)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:382)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Re: pdt 1.1 freezes eclipse [message #76886 is a reply to message #76737] Thu, 24 July 2008 02:10 Go to previous messageGo to next message
David Muir is currently offline David MuirFriend
Messages: 63
Registered: July 2009
Member
Looks like the issue has been fixed with the latest integration build.
I might have also goofed before by installing the DLTK runtime, but not
the SDK.
Anyway, looks like the crazy annoying 10 second wait has now been reduced
to a 1-2 second wait for content assist, and it no longer locks up when
you mouse-over a object method. Would be nice if it was still faster with
the content assist, but it's good enough to work with. Good job guys! :-)
Re: pdt 1.1 freezes eclipse [message #76918 is a reply to message #76886] Thu, 24 July 2008 09:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kkunjas.gmail.com

Na Thu, 24 Jul 2008 02:10:41 +0000, David Muir napisao:

> Looks like the issue has been fixed with the latest integration build. I
> might have also goofed before by installing the DLTK runtime, but not
> the SDK.
> Anyway, looks like the crazy annoying 10 second wait has now been
> reduced to a 1-2 second wait for content assist, and it no longer locks
> up when you mouse-over a object method. Would be nice if it was still
> faster with the content assist, but it's good enough to work with. Good
> job guys! :-)

hm, i'm still having the same problem, even worse now. I have tried
several clean installs with latest integration and nightlies, and still no
luck.

for me, eclipse freezes on selecting with mouse on php code...


btw. how do you install on ganyamede?

i took latest j2ee 34.4 build, and just added latest dltk and pdt ( as
stated on integration build page)



--
Re: pdt 1.1 freezes eclipse [message #77124 is a reply to message #76918] Thu, 24 July 2008 23:11 Go to previous messageGo to next message
David Muir is currently offline David MuirFriend
Messages: 63
Registered: July 2009
Member
I installed:

GEF 3.4 SDK version from Ganymede update site.
WTP 3.0 SDK version from Ganymede update site.

I then downloaded:
The latest DLTK Core Frameworks Integration 1.0 SDK version from DLTK
download page.
The latest PDT Integration build from PDT download page.

To install DLTK and PDT, unzip the packages into a folder, and add this as
a local update site in the update manager.
I installed DLTK first and then PDT (not sure if it matters though).

Once installed, make sure you do a clean rebuild of your projects.
(Projects->Clean...)
Re: pdt 1.1 freezes eclipse [message #77155 is a reply to message #77124] Fri, 25 July 2008 11:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kkunjas.gmail.com

Na Thu, 24 Jul 2008 23:11:47 +0000, David Muir napisao:

> I installed:
>
> GEF 3.4 SDK version from Ganymede update site. WTP 3.0 SDK version from
> Ganymede update site.
>
> I then downloaded:
> The latest DLTK Core Frameworks Integration 1.0 SDK version from DLTK
> download page.
> The latest PDT Integration build from PDT download page.
>
> To install DLTK and PDT, unzip the packages into a folder, and add this
> as a local update site in the update manager. I installed DLTK first and
> then PDT (not sure if it matters though).
>

done exactly that several times, and it's still the same ( a tried a amd64
build of eclipse at home, and same problems occure)


> Once installed, make sure you do a clean rebuild of your projects.
> (Projects->Clean...)

i did a clean build now and now i get "only" about 5 sec freeze when
typing $, >, and selecting text in editor with mouse.

a bit better, but still far from expected...

Thanks for Projects->clean, i didn't know that i must do this on every
upgrade...
Re: pdt 1.1 freezes eclipse [message #77200 is a reply to message #77155] Sat, 26 July 2008 11:28 Go to previous messageGo to next message
David Muir is currently offline David MuirFriend
Messages: 63
Registered: July 2009
Member
Yeah, it's not mentioned anywhere in the installation docs. I should
probably add that in a bug report. Maybe it's something you need to do in
general with any Eclipse update, but I'd never come across it in the two
years that I've been using it. I only stumbled across it when I was trying
to get "open declaration" working.
Re: pdt 1.1 freezes eclipse [message #77216 is a reply to message #77155] Sun, 27 July 2008 07:36 Go to previous messageGo to next message
Michael Spector is currently offline Michael SpectorFriend
Messages: 110
Registered: July 2009
Senior Member

Hi,

Can you tell how many open projects do you have in your workspace, and
what is the estimation of how many PHP line numbers are there?

Do you use some known PHP framework?

Thanks!

Krešo Kunjas wrote:
> Na Thu, 24 Jul 2008 23:11:47 +0000, David Muir napisao:
>
>> I installed:
>>
>> GEF 3.4 SDK version from Ganymede update site. WTP 3.0 SDK version from
>> Ganymede update site.
>>
>> I then downloaded:
>> The latest DLTK Core Frameworks Integration 1.0 SDK version from DLTK
>> download page.
>> The latest PDT Integration build from PDT download page.
>>
>> To install DLTK and PDT, unzip the packages into a folder, and add this
>> as a local update site in the update manager. I installed DLTK first and
>> then PDT (not sure if it matters though).
>>
>
> done exactly that several times, and it's still the same ( a tried a amd64
> build of eclipse at home, and same problems occure)
>
>
>> Once installed, make sure you do a clean rebuild of your projects.
>> (Projects->Clean...)
>
> i did a clean build now and now i get "only" about 5 sec freeze when
> typing $, >, and selecting text in editor with mouse.
>
> a bit better, but still far from expected...
>
> Thanks for Projects->clean, i didn't know that i must do this on every
> upgrade...
>
>
>
>
Re: pdt 1.1 freezes eclipse [message #77264 is a reply to message #77216] Sun, 27 July 2008 23:18 Go to previous messageGo to next message
Dan V is currently offline Dan VFriend
Messages: 1
Registered: July 2009
Junior Member
I am experiencing the same issue, my stats follow:

Ganymede amd64 build with machine of 2gb ram and 512M for eclipse (Heap
manager rarely shows the program exceeding 400mb).

I have 55591 total PHP lines, 3085 files, ~100 php5 classess, and it takes
8-15 seconds for the autocomplete to show.

For the record, aptana, Zend 5.5 and Zend 6.01 are all ~.5-1.5 seconds.
Re: pdt 1.1 freezes eclipse [message #77297 is a reply to message #77264] Mon, 28 July 2008 07:47 Go to previous messageGo to next message
Michael Spector is currently offline Michael SpectorFriend
Messages: 110
Registered: July 2009
Senior Member

Hi,

Is your code placed locally or is it accessed via network?

Thanks!

Dan Vande More wrote:
> I am experiencing the same issue, my stats follow:
>
> Ganymede amd64 build with machine of 2gb ram and 512M for eclipse (Heap
> manager rarely shows the program exceeding 400mb).
>
> I have 55591 total PHP lines, 3085 files, ~100 php5 classess, and it
> takes 8-15 seconds for the autocomplete to show.
>
> For the record, aptana, Zend 5.5 and Zend 6.01 are all ~.5-1.5 seconds.
>
Re: pdt 1.1 freezes eclipse [message #78493 is a reply to message #77216] Mon, 18 August 2008 11:23 Go to previous message
Eclipse UserFriend
Originally posted by: kkunjas.gmail.com

Na Sun, 27 Jul 2008 10:36:14 +0300, Michael Spector napisao:

> Hi,
>
> Can you tell how many open projects do you have in your workspace, and
> what is the estimation of how many PHP line numbers are there?
>

it ranges from 50 - 2000 or even more, depends on the file opened.

I have only one php project open at the time ( but the effect is the same
even if several are opened)


> Do you use some known PHP framework?
>

yep, i'm using symfony, propel, doctrine


> Thanks!
>

np


btw. with latest dltk ( 1.0m1) and latest nightly the freezes are minimal
( around 1 sec, or less) so thing are looking better now, and i can finaly
actualy use PDT ;)
Previous Topic:java.lang.NullPointerException in PDT
Next Topic:Filtering Directories
Goto Forum:
  


Current Time: Thu Mar 28 17:57:53 GMT 2024

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

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

Back to the top