如何从 Eclipse PDT 2.2.0 build 20100617-1415 升级以修复 Zend Debugger ZF Break-on-every-file 错误?

发布于 2024-10-17 10:47:34 字数 1931 浏览 0 评论 0 原文

我有 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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

吐个泡泡 2024-10-24 10:47:34

你好,

我真的不熟悉 PHP 的 Eclipse IDE ...但是鉴于你在这里根本没有线索,我至少会尝试给你一些潜在的问题来调查。

首先,您收到的错误消息是 Eclipse 告诉您正在升级的软件的“旧”版本和“新”版本之间存在冲突的依赖关系。我一直不明白无论如何都要卸载的插件会如何导致冲突,但这种情况很少发生。在这些情况下,您可以尝试的是简单地卸载有问题的插件并重新启动 Eclipse,然后再尝试从头开始安装。对于您的情况,

  • 请转到“帮助>安装新软件...”,
  • 单击该弹出窗口右下角有点难以看到的链接“已安装”。
  • 选择要从已安装软件列表中删除的插件(在您的情况下,它似乎是 epp.package.php,版本 1.3.0.20100617),然后单击“卸载”按钮,
  • 重新启动 Eclipse

立即 如果您再次查看已安装软件的列表,您不应该再看到该插件。您现在可以尝试安装新版本 (1.3.1.20100916)。

如果这不起作用,您很可能必须从头开始安装 Eclipse,并且只安装最新版本的 Eclipse PDT,因为它们似乎不支持更新。

如果以上方法均无效,请尝试联系 PDT 的开发团队;他们应该关注官方 Eclipse PDT 论坛

抱歉,如果这没有帮助,我只能向您提供一般信息,因为我自己从未处理过 PDT。

编辑 为了安装具有最新 PDT 版本的“干净”Eclipse:

  • 下载页面
  • 从他们的 PDT 下载页面(这是最新版本的链接(在撰写本文时)2.2.0 版本
  • 将 Eclipse Classic 解压到您选择的目录中
  • 启动 Eclipse.exe
  • 选择“帮助 > 安装新软件...”
  • 单击此屏幕右侧的“添加...”
  • 单击“存档”按钮并浏览到该位置您之前下载的“一体化更新站点”的
  • 现在应该显示您可以安装的 PDT 位列表,选择您需要的任何一个(我尝试使用“一体化 SDK”选择)并

验证安装需要一段时间,但您现在应该有一个具有最新 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,

  • 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 :).

一身骄傲 2024-10-24 10:47:34

对我来说,在 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文