xdegug 无法在 php 视图中跳到下一行 [英] xdegug cannot step to next line in php view

查看:22
本文介绍了xdegug 无法在 php 视图中跳到下一行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将 Eclipse 用于 PHP Luna Service Release 1 (4.4.1),并尝试安装 xdebug 进行调试.我按照 这个博客 在 xampp 1.8.1 上设置 xdebug.以下是我的 php.ini 设置.

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.

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

基本上它会停在我设置的断点处,但是我按[F6],它不会转到下一行.

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.

推荐答案

是的,这好像是个bug,我更新后碰到了.

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.

在过去的几年里,我在 Eclipse IDE for PHP Developers (PDT) 中遇到了很多这样烦人的错误,并进行了官方更新.人们可能会觉得开发人员不太重视回归测试.

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.

解决方案:

如果您最近更新了 Eclipse,请打开帮助"->安装详细信息".单击安装历史记录"选项卡并找到不包含版本 4.4.1 的条目(此处为 4.4.0.20140612-0500).

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 4.4.0.20140612-0500 here).

在我看来,Eclipse 项目页面有点乱(或者我只是瞎了眼),但幸运的是,您可以爬取一个镜像站点来查找旧版本:

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:

http://ftp.yz.yamagata-u.ac.jp/pub/eclipse/technology/epp/downloads/release/luna/R/

这篇关于xdegug 无法在 php 视图中跳到下一行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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