我有 Eclipse PDT 2.2.0,并且我的 Zend 调试器在每个 Zend Framework 相关文件的开头处中断。已经有另一篇文章 Zend 调试器在每个 Zend Framework 类处中断 关于这个问题,解决方案是更新到更高版本;但是,我似乎无法做到这一点。
从 http://www.eclipse.org 下载最新的 2.2.0 All-in-One 软件包后/pdt/downloads/,我尝试过帮助->检查更新,但失败并报告以下内容:
由于依赖项冲突,无法完成安装。
正在安装的软件:Eclipse IDE for PHP Developers 1.3.1.20100916-1202 (epp.package.php 1.3.1.20100916-1202)
当前安装的软件:共享配置文件 1.0.0.1276791101682 (SharedProfile_epp.package.php 1.0.0.1276791101682)
一次只能安装以下其中一项:
面向 PHP 开发人员的 Eclipse IDE 1.3.0.20100617-0520 (epp.package.php 1.3.0.20100617-0520)
面向 PHP 开发人员的 Eclipse IDE 1.3.1.20100916-1202 (epp.package.php 1.3.1.20100916-1202)
无法满足依赖性:
来自:共享配置文件 1.0.0.1276791101682 (SharedProfile_epp.package.php 1.0.0.1276791101682)
至:epp.package.php [1.3.0.20100617-0520]
尽管出现了“有用”的错误消息,但我不确定该怎么做,所以我尝试按照 Zend 调试器在每个 Zend Framework 类处中断。我下载了推荐的 201006170734 SDK 以及最新的 201010110334 SDK。
每次,我都会将存档解压到 c:\program files\eclipse\dropins\
中,并使用 --clean
标志从命令行启动 Eclipse。无论如何,帮助->关于 Eclipse 仍然显示构建 ID 20100617-1415,并且我的调试会话仍然在每个 Zend Framework 文件上中断,尽管其中没有设置任何断点。
我不敢相信执行简单的升级是如此困难。有什么建议吗?
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?
发布评论
评论(2)
你好,
我真的不熟悉 PHP 的 Eclipse IDE ...但是鉴于你在这里根本没有线索,我至少会尝试给你一些潜在的问题来调查。
首先,您收到的错误消息是 Eclipse 告诉您正在升级的软件的“旧”版本和“新”版本之间存在冲突的依赖关系。我一直不明白无论如何都要卸载的插件会如何导致冲突,但这种情况很少发生。在这些情况下,您可以尝试的是简单地卸载有问题的插件并重新启动 Eclipse,然后再尝试从头开始安装。对于您的情况,
epp.package.php
,版本 1.3.0.20100617),然后单击“卸载”按钮,立即 如果您再次查看已安装软件的列表,您不应该再看到该插件。您现在可以尝试安装新版本 (1.3.1.20100916)。
如果这不起作用,您很可能必须从头开始安装 Eclipse,并且只安装最新版本的 Eclipse PDT,因为它们似乎不支持更新。
如果以上方法均无效,请尝试联系 PDT 的开发团队;他们应该关注官方 Eclipse PDT 论坛。
抱歉,如果这没有帮助,我只能向您提供一般信息,因为我自己从未处理过 PDT。
编辑 为了安装具有最新 PDT 版本的“干净”Eclipse:
验证安装需要一段时间,但您现在应该有一个具有最新 PDT 版本的 Eclipse...我可以在我的机器上走那么远...但由于我不熟悉 PDT,无法尝试看看您的用例是否有效:)。
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,
epp.package.php
, version 1.3.0.20100617) and hit the "Uninstall" buttonNow 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 :
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 :).
对我来说,在 Windows 7 下运行的 Helios 上,从 Helios 版本至PDT 最后更新 并重新启动 Eclipse 解决了该问题,如此页面< /a>.
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.