用eclipse和xdebug调试问题 [英] Problems debugging with eclipse and xdebug

查看:126
本文介绍了用eclipse和xdebug调试问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

经过漫长的试错过程,我终于得到了xdebug的正确配置,但是我遇到了一些与eclipse有关的问题。




  • 首先,在Run> Debug As菜单中只有一个选项,它是XSL Transformation,它变灰了!为什么我可以选择PHP脚本或网页?

  • 其次,它完全忽略了我的断点!我设置em和eclipse忘记em!它只能在第一行打破,就是这样!

  • 我只能在PHP的第一个位置设置断点 - 所以如果我有几行PHP,然后是HTML然后跟着一些更多的PHP,最左边的栏没有蓝色区域来设置断点。



我只是完全失踪这里有什么我正在为PHP开发人员(Helios)运行WAMP和Eclipse。任何帮助将是巨大的。

解决方案

尝试NetBeans,它的工作非常好 - 我已经孤立了我的问题。 Eclipse似乎是更好/更完整的IDE,但是我没有时间再混淆它 - NetBeans FTW,也许我会再次检查日食,当我不那么无聊。


After a long process of trial and error, I finally got xdebug configured correctly but I'm having a few issues with eclipse.

  • First, there is only one option in the 'Run > Debug As' menu and it is 'XSL Transformation' and it is grayed out! Why can I select PHP Script or Web Page?
  • Second, It just completely ignores my breakpoints! I set em and eclipse forgets em! It only breaks at the first line and that's it!
  • I'm only able to set breakpoints in the first bit of php - so if I have a few lines of PHP, followed by HTML and then followed by some more PHP, there is no blue area in the far left bar to set breakpoints.

Am I just completely missing something here? I'm running WAMP and Eclipse for PHP Developers (Helios). Any help would be great.

解决方案

Tried out NetBeans and it is working great - I've already isolated what my issue was. Eclipse seems like it is the better/more-complete IDE, however I don't have time to mess around with it anymore - NetBeans FTW, maybe I'll checkout eclipse again when i'm not so noobish.

这篇关于用eclipse和xdebug调试问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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