在 Eclipse PHP 中出现不兼容的调试器版本错误

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4551711/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 15:34:21  来源:igfitidea点击:

Getting incompatible debugger version error in eclipse PHP

phpeclipse

提问by Vicky

Getting incompatible debugger version The remote debugger version might not match the expected protocol version (2006040705). Show error pop up after after every some time

获取不兼容的调试器版本 远程调试器版本可能与预期的协议版本 (2006040705) 不匹配。每隔一段时间后显示错误弹出

I am using

我在用

Eclipse for PHP Developers

面向 PHP 开发人员的 Eclipse

Version: Helios Service Release 1 Build id: 20100917-0705

版本:Helios Service Release 1 版本号:20100917-0705

回答by camikiller

It seems to be a bug in Eclipse PDT and according to this report: Bug 271071 - "Incompatible debugger version" when not debugging, the bug seems to fix itself when you close ALL projects in the workspace and then reopen whichever you need.

这似乎是 Eclipse PDT 中的一个错误,根据此报告: 错误 271071 - 不调试时“不兼容的调试器版本”,当您关闭工作区中的所有项目然后重新打开您需要的任何项目时,该错误似乎会自行修复。

Personally I have solved it by changing the debug ports in "Preferences -> PHP -> Debug -> Installed Debuggers", with these values:

我个人已经通过更改“首选项 -> PHP -> 调试 -> 已安装的调试器”中的调试端口来解决它,使用以下值:

Zend Debugger (30000)

Zend 调试器 (30000)

XDebug (19000)

XDebug (19000)

That Works for me, maybe you have to try another ports.

这对我有用,也许您必须尝试其他端口。

Regards

问候

回答by radhouano

I got same problem and the cause is related to the bittorrent / utorrent browser toolbar. You should remove the toolbar and restart the browsers to fix it.

我遇到了同样的问题,原因与 bittorrent / utorrent 浏览器工具栏有关。您应该删除工具栏并重新启动浏览器以修复它。

回答by avmusa

Changing default ZendDebugger and XDebug ports helps.

更改默认 ZendDebugger 和 XDebug 端口会有所帮助。

回答by love

simply close all running application and codes and restart the application again. It will run fine.

只需关闭所有正在运行的应用程序和代码,然后再次重新启动应用程序。它会运行良好。