xdebug断点工作,但不要过渡 [英] xdebug breakpoints work but step over does not

查看:93
本文介绍了xdebug断点工作,但不要过渡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Windows上安装了Xampp(实际上,xampp和wamp都有同样的问题),并启用了xdebug。我已经安装了包含pdt的php的最新eclipse。断点正常工作,但是如果我按f6或f5,当前行没有更新,变量就像我已经进入下一行,但突出显示的行保持不变。任何想法?



我附加了一些截图以使其更容易理解:



断点工作原理:





我在Debug和Variables窗口中按f6,lineno和$ a更改:





我再次按f6:





我尝试更新到最新的xdebug,但同样的事情发生。

解决方案

这是Eclipse SR1中的问题。您应该切换回R(SR0)版本,接下来您可以从市场安装PDT 3.3.1。



另请参见 bugzilla的错误报告



编辑:



夜间版本修复问题: http://download.eclipse.org/tools/pdt/updates/3.4-nightly/



编辑2:



我们发布了新的稳定(3.3.2)版本,解决了这个问题。您可以在市场或本更新网站上找到它: http://下载.eclipse.org / tools / pdt / updates / 3.3.2 /


I have installed Xampp on Windows (Well actually both xampp and wamp but both have the same problem), and enabled xdebug. I have installed the latest eclipse for php with pdt included. The breakpoints are working correctly however if I press f6 or f5 the current line does not get updated, the variables change as if I had stepped to the following line but the highlighted line remains the same. Any ideas?

I attach some screenshots to make it easier to understand:

Breakpoint works:

I press f6, lineno and $a changes in the 'Debug' and 'Variables' window:

I press f6 again:

I tried updating to the latest xdebug but the same thing happens.

解决方案

This is problem in Eclipse SR1. You should switch back to R (SR0) release, next you can install PDT 3.3.1 from marketplace.

See also bug report on bugzilla

Edit:

Problem is fixed in nightly builds: http://download.eclipse.org/tools/pdt/updates/3.4-nightly/

Edit 2:

We released new stable (3.3.2) version with fix for this problem. You can find it on marketplace or in this update site: http://download.eclipse.org/tools/pdt/updates/3.3.2/

这篇关于xdebug断点工作,但不要过渡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆