我正在使用Eclipse进行PHP Luna Service Release 1(4.4.1),并尝试安装xdebug进行调试。 我关注此博客,以便在xampp 1.8.1上设置xdebug。 关注是我的php.ini设置。</ p>

zend_extension =“C:\ xampp \ php \ ext \ php_xdebug.dll”
xdebug.remote_enable = 1
xdebug .remote_handler =“dbgp”
</ code> </ pre>

基本上它会在我设置的断点处停止,但是然后我按[F6],它不会转到下一行。 </ p>

但是在调试对话框窗口中,行号继续运行,变量也会发生变化。 </ p>

有谁知道这有什么问题? 谢谢。 </ p>
</ div>



I am using Eclipse for PHP Luna Service Release 1 (4.4.1), and try to install xdebug for debugging. I follow this blog for for setting xdebug on xampp 1.8.1. Follow is my php.ini settings.

zend_extension = "C:\xampp\php\ext\php_xdebug.dll"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"

Basically it will stop on the break point i set, but then i press [F6], it will not go to next line.

But in debug dialog window, line number keep going, and variables also change too.

Does anyone knows what wrong on this? thanks.


Yes, this seems to be a bug, I hit it after updating.

It does step to the next line though, it just doesn't update the highlight and current position.

Over the last few years I've experienced quite a few of such annoying bugs in Eclipse IDE for PHP Developers (PDT) with official updates. One might get the impression that the developers don't pay much attention to regression testing.


If you've updated Eclipse recently, open "Help" -> "Installation Details". Click on the tab "Installation History" and find an entry that doesn't contain version 4.4.1 (it's here).

The Eclipse project page is a bit messy in my opinion (or I'm just blind), but you can fortunately crawl a mirror site to find older releases:


douao3063 坦克很多,因为我的小困惑花时间。 获得帮助形成热情非常高兴知道我并不孤单。 再次感谢。
大约 6 年之前 回复

我想我发现了一个关于这个问题的错误报告:</ p>

https://bugs.eclipse.org/bugs/show_bug.cgi?id=445903 </ p>

它被标记为已解决,因此可能在下一个版本中此问题应该消失。</ p>

编辑</ strong>:将PDT更新为版本 3.3.2 http://download.eclipse.org/tools/pdt/updates /3.3.2/ 解决了这个问题(至少在我的安装中)</ p>
</ div>



I think I found a bug report on this issue:


It's marked as solved, so maybe on the next release this issue should be gone.

EDIT: updating PDT to version 3.3.2 http://download.eclipse.org/tools/pdt/updates/3.3.2/ solves this issue (at least in my install)

dpmir1988 升级PDT在这里eclipse.org/pdt Eclipse>帮助>安装新软件>使用:download.eclipse.org/tools/pdt/updates/3.3.2
5 年多之前 回复

我也有同样的问题,其中单步执行代码不会转到下一行。 我意识到问题是我正在调试的远程php脚本有一行代码,这些代码在Eclipse的本地php脚本中没有。 更新本地php脚本以匹配远程php脚本解决了问题。</ p>
</ div>



I also had the same problem, where the stepping through the code would not go to the next line. I realized that the problem was that the remote php script which I was debugging, had a line of code which was not present in the local php script in Eclipse. Updating the local php script to match the remote php script fixed the problem.