开发者

How do I upgrade from Eclipse PDT 2.2.0 build 20100617-1415 to fix the Zend Debugger ZF break-on-every-file bug?

I have Eclipse PDT 2.2.0 and my Zend Debugger breaks at the start of every Zend Framework related file. There is already another SO post Zend Debugger breaks at every Zend Framework class about that issue, and the solution was to update to a later build; however, I don't seem to be able to do that.

After downloading the latest 2.2.0 All-in-One package from http://www.eclipse.org/pdt/downloads/, I've tried Help->Check for Updates, which fails and reports the following:

Cannot complete the install because of a conflicting dependency.

Software being installed: Eclipse IDE for PHP Developers 1.3.1.20100916-1202 (epp.package.php 1.3.1.20100916-1202)

Software currently installed: Shared profile 1.0.0.1276791101682 (SharedProfile_epp.package.php 1.0.0.1276791101682)

Only one of the following can be installed at once:

Eclipse IDE for PHP Developers 1.3.0.20100617-0520 (epp.package.php 1.3.0.20100617-0520)

Eclipse IDE for PHP Developers 1.3.1.20100916-1202 (epp.package.php 1.3.1.20100916-1202)

Cannot satisfy dependency:

From: Shared 开发者_运维问答profile 1.0.0.1276791101682 (SharedProfile_epp.package.php 1.0.0.1276791101682)

To: epp.package.php [1.3.0.20100617-0520]

Despite the "helpful" error message, I wasn't sure what to do, so I tried following the instructions mentioned in Zend Debugger breaks at every Zend Framework class. I downloaded the recommended 201006170734 SDK as well as the latest 201010110334 SDK.

Each time, I extracted the archives into c:\program files\eclipse\dropins\ and started eclipse from the command line using the --clean flag. Regardless, Help->About Eclipse still shows build id 20100617-1415 and my debugging sessions still break on every single Zend Framework file despite there not being any breakpoints set up in there.

I can't believe it's this difficult to perform a simple upgrade. Any suggestions?


HI,

I really am not familiar with the Eclipse IDE for PHP ... but seeing as you have no lead here at all, I'll at least try and give you some potential issues to investigate.

First of, the error message you get is Eclipse telling you that there are conflicting dependencies between the "old" and "new" version of the software you're upgrading. I've never understood how a plugin that's going to be uninstalled anyway can cause conflicts, but that seldom happens. What you can try in these cases is to simply uninstall the offending plugin and restarting your Eclipse before trying to install it from scratch. In your case,

  • go to "Help > Install New Software..."
  • click on the somewhat hard to see link "already installed" at the bottom right of that popup.
  • select the plugin you want to remove from the list of installed software (in your case, it seems to be epp.package.php, version 1.3.0.20100617) and hit the "Uninstall" button
  • restart Eclipse

Now if you go again to the list of installed software, you shouldn't see that plugin anymore. You can now try and install the new version (1.3.1.20100916).

If that doesn't work, you'll most likely have to install your Eclipse from scratch and only install the latest version of the Eclipse PDT since they don't seem to support updating.

If all else fail, try and get in contact with the development team of the PDT; they should be monitoring the official Eclipse PDT forum.

Sorry if that doesn't help, I can only provide you with general information as I never dealt with the PDT myself.

edit In order to install a "clean" Eclipse with the latest PDT version :

  • Download the latest "Eclipse classic" for your architecture from the download page
  • Download the latest "all-in-one update site" build of the PDT from their PDT download page (here is the link for the latest (at the time of writing) 2.2.0 version
  • Unzip your eclipse classic in a directory of your choice
  • Launch Eclipse.exe
  • Select "Help > Install New Software..."
  • Click "Add..." on the right of this screen
  • Click the "Archive" button and browse to the location of the "all-in-one update site" you downloaded earlier
  • You should now be displayed the list of PDT bits you can install, select whichever you need (I tried with the "all-in-one SDK" choice) and validate

The installation takes a while, but you should now have an Eclipse with the latest PDT build... I could go that far on my machine... but as I am not familiar with the PDT, could not try and see whether your use case works :).


For me, on Helios running under Windows seven, changing the PDT repository address (Window/Help/Install New Softwares/Add Software Sites) from the Helios releases to the PDT last update and restarting Eclipse solved that issue, as according to this page.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜