Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Working configuration of Eclipse, PDT and ZendDebugger?(Can anyone give me a hint on a working configuration of Eclipse, PDT and ZendDebugger?)
Working configuration of Eclipse, PDT and ZendDebugger? [message #643450] Mon, 06 December 2010 22:06 Go to next message
Markus is currently offline Markus
Messages: 2
Registered: December 2010
Junior Member
Can anyone give me a hint on a working configuration of Eclipse, PDT and ZendDebugger?

I started using Eclipse/PDT 2.0 and later 2.1 both of which had performance issues like the one described here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=274643

For me the autocomplete feature is one of the most important features of an IDE.
As hinted in the last comment of issue #274643 performance has been improved with PDT 2.2.0.
So I installed Eclipse/PDT 2.2.0:
PHP Development Tools (PDT) SDK Feature 2.2.0.v20100519-1400-53-84QAN2IGRoLXQNHWOXe1La9Od

In this version autocomplete isn't working at all:
I can't complete any of PHP's standard.php functions like enter "str" and then press CTRL+SPACE.
I get an empty autocomplete list and .log is showing

!MESSAGE Background Indexer Crash Recovery
java.lang.NoSuchMethodError: [...]

Now this issue has been dealt with here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=324172

The fix is included in PDT 2.2.1. So I've updated PDT by the use of the EPP Package Repository (Help/Check for Updates):
EPP PHP Feature 1.3.1.20100916-1202 org.eclipse.epp.package.php.feature.feature.group
which includes
PHP Development Tools (PDT) SDK Feature 2.2.1.v20100826-1100-53184QAN4IJShLXONIZhXX4Na9Od

After upgrading to PDT 2.2.1 the autocomplete feature is indeed working.
But now I have different issues:
I cannot use "Compare With > Each Other" or SVN-compare and .log is showing

!MESSAGE Unhandled event loop exception
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) [...]

Now this issue has been dealt with here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=326194

It has been fixed on 2010-09-27 but doesn't seem to be available by updating Eclipse from
the official release update sites on 2010-12-06 (Huh? Why not?).
So, I've updated PDT from the milestones repository as hinted in the comments to issue #326194.
The installed version is now:
PHP Development Tools (PDT) Runtime Feature 2.2.1.v20101001-2300-7L7J1F8NcJTJTJJT9cmJJ

After upgrading to the newest milestone, the PHP file compare is indeed working.
But now I have different issues:

The Zend Debugger
Zend Debugger Feature 5.3.18.v20100905 org.zend.php.debug_feature.feature.group
is not working as expected anymore. A very simple PHP page
<?php phpinfo() ?>
causes php.exe or php-cgi.exe to run indefinitely and thus showing no output at all.
Opening the task manager I can verify that none of the processes terminate.
Same happens with other simple php scripts, e.g. creating an array with a couple of entries and doing a var_dump() on this array.


Please help me:
This configuration hell is really driving me crazy. Mad
Can anyone give me a hint to a working configuration?
Any combination of versions of Eclipse, PDT and ZendDebugger will do.
What might also help is a patch to issue #324172 or #326194 only, without the need update PDT completely.

Re: Working configuration of Eclipse, PDT and ZendDebugger? [message #643722 is a reply to message #643450] Wed, 08 December 2010 01:39 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro Izumi
Messages: 351
Registered: July 2009
Location: Japan
Senior Member
Quote:
<?php phpinfo() ?>
causes php.exe or php-cgi.exe to run indefinitely and thus showing no output at all.


...ah...yep...really...
I believe this had been introduced by resolving bug #282997.
Bug 282997 Run As -> PHP Script: incomplete output
And it was reverted last month. (...282997 should be reopened)
So you can escape this issue by installing current nightly build but unfortunately you will encounter bug #282997.

Nightly builds
cbi-pdt-2.2-helios [Hudson]
Re: Working configuration of Eclipse, PDT and ZendDebugger? [message #643822 is a reply to message #643722] Wed, 08 December 2010 12:15 Go to previous messageGo to next message
Markus is currently offline Markus
Messages: 2
Registered: December 2010
Junior Member
Toshihiro Izumi wrote on Tue, 07 December 2010 20:39

So you can escape this issue by installing current nightly build but unfortunately you will encounter bug #282997.



Thanks.
I'm going to try the latest nightly build. I see you have created a patch for issue #282997 yesterday.

For the moment I've gone back to PDT 2.2.0.v20100519, which seems to be working except for the autocomplete feature.
Is there a patch to fix this issue (#324172) only?
Re: Working configuration of Eclipse, PDT and ZendDebugger? [message #644413 is a reply to message #643822] Sat, 11 December 2010 01:34 Go to previous message
Toshihiro Izumi is currently offline Toshihiro Izumi
Messages: 351
Registered: July 2009
Location: Japan
Senior Member
"java.lang.NoSuchMethodError" means DLTK version is incorrect.
I cannot reproduce it on eclipse-php-helios.
Are you using EPP package?

|Dynamic Languages Toolkit - Core Frameworks 2.0.0.v20100518-1923-7L--EAAoOVMSMc4AWEvJ
|Dynamic Languages Toolkit - Core H2 Index Frameworks 2.0.0.v20100616-2015-6--9oA5855M7O2968L

(btw, 2.2.0 lacks a few functions for CA. I don't remember what functions are lost... It didn't hurt me anyway.)
Previous Topic:Windows desktop, Mac server - setup help?
Next Topic:Eclipse 3.6 PHP / Snow Leopard 10.6.5 / Sites folder
Goto Forum:
  


Current Time: Sun Oct 26 03:43:34 GMT 2014

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

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