eclipse+pdt+xdebug调试php跟踪局部变量有问题
时间:2009-11-19
来源:互联网
一直用echo来debug,最近想弄弄IDE,安装了基于eclipse的pdt
用着还行,有人说它太大了,我觉得还能承受
有了IDE又想debug,人总是贪心不足的
网上找了一下,都说xdebug好。
安了,确实不错。只是单步进入函数内部后,变量就跟踪不了。需要watch表达式才可以看到变量动态。还有就是不稳定,易崩溃。
我把xdebug的php.ini相关信息贴出,请大家指教[code][XDebug]
xdebug.remote_enable= on
xdebug.remote_autostart = On
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.show_exception_trace = On
xdebug.show_local_vars = On
xdebug.collect_vars = On
xdebug.collect_return = On
xdebug.collect_params = On
xdebug.collect_includes = On
xdebug.var_display_max_depth = 6[/code]这贴不知发哪里好,zend也是IDE相关,所以发这里 请版主见晾
用着还行,有人说它太大了,我觉得还能承受
有了IDE又想debug,人总是贪心不足的
网上找了一下,都说xdebug好。
安了,确实不错。只是单步进入函数内部后,变量就跟踪不了。需要watch表达式才可以看到变量动态。还有就是不稳定,易崩溃。
我把xdebug的php.ini相关信息贴出,请大家指教[code][XDebug]
xdebug.remote_enable= on
xdebug.remote_autostart = On
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.show_exception_trace = On
xdebug.show_local_vars = On
xdebug.collect_vars = On
xdebug.collect_return = On
xdebug.collect_params = On
xdebug.collect_includes = On
xdebug.var_display_max_depth = 6[/code]这贴不知发哪里好,zend也是IDE相关,所以发这里 请版主见晾
作者: nandiao 发布时间: 2009-11-19
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28