Eclipse Helios没有在断点处停止 [英] Eclipse Helios not stopping at breakpoints

查看:82
本文介绍了Eclipse Helios没有在断点处停止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近从Eclipse Galileo升级到了Helios。 Helios仅在作为PHP脚本进行调试时才在断点处停止,而在作为Web页面进行调试时不会在断点处停止。

I recently upgraded from Eclipse Galileo to Helios. Helios stops at breakpoints ONLY when debugging "as a PHP Script", but not when debugging "as a Web Page".

作为Web调试时,它看起来像正确的调试查询字符串将开始调试会话,并附加到url,例如:

When debugging as a web page, it looks like the correct debug query string to start a debug session is getting tacked on to the url, like so:

http:// localhost / hello。 php?XDEBUG_SESSION_START = ECLIPSE_DBGP& KEY = 129798139020511

,但是椭圆不会在断点处停止。它只是放大代码并在浏览器中显示输出。

but elipse does not stop at the breakpoints. It just zooms thru the code and displays the output in the browser.

这是我在php.ini中的xdebug配置,适用于Galileo,但不适用于Helios: (点击此处以查看我的整个xdebug配置设置)

This is my xdebug configuration in php.ini that works for Galileo, but is not working for Helios: (click here to see my entire xdebug config settings)

;extension=xdebug.so <-- is this needed?
zend_extension=" /Applications/MAMP/bin/php5.3/lib/php/extensions/no-debug-no n-zts-20090626/xdebug.so "
xdebug.remote_enable=on
xdebug.remote_autostart=off
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.idekey=

; to enable remote debugging
zend_debugger.allow_hosts=127.0.0.1/32
zend_debugger.expose_remotely=always 

可以发布适用于Helios的xdebug配置吗?如果可能,您可以共享phpinfo()输出的xdebug部分吗?想要将可在Helios上使用的xdebug配置的设置与我所拥有的进行比较。

Can you post your xdebug configuration that works for Helios? If possible, can you share the xdebug portion of your phpinfo() output? Would like to compare settings of an xdebug configuration that works on Helios with what I have.

推荐答案

我遇到了完全相同的问题。我确实发现了一些有关Galileo断点无法在Helios中使用的错误报告。我可以让Helios有时在断点处停止,但是我必须删除所有断点,然后开始调试,只有在此之后添加断点。不用说这很烦人。我将尝试找到我看到的链接并将其添加到此处。

I am having the exact same issue. I did find some bug reports about breakpoints in Galileo not being able to be used in Helios. I can get Helios to stop on breakpoints at times, but I have to delete all my breakpoints and then start debugging, and only after that add a breakpoint. Needless to say this is very annoying. I'll try and find the link that I saw and add it to here.

现在,我回到了伽利略。

For now I've gone back to Galileo.

行列。

这篇关于Eclipse Helios没有在断点处停止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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