dougupang0901 2012-05-05 19:10
浏览 129

使用NetBeans和XDebug进行调试时没有输出

I've run into some strange problem, after upgradeing my PHP to 5.4 I have a problem with debugging in NetBeans 7.0.1. When debbuging session is active the browser does not show any output but the debugger runs normally. I can set breakpoints in my application, and they work normaly, but server does not return anything back to the browser. After sending end of session request output works normally.

Here are my settings in php.ini

zend_extension = c:\php\ext\php_xdebug-2.2.0RC1-5.4-vc9.dll
xdebug.remote_enable=on
xdebug.remote_host=localhost
xdebug.remote_handler=dbgp
xdebug.remote_port=9000
xdebug.remote_log="c:\php\xdebug.log"

According to xdebug log, xdebug is conntected to IDE, and IDE does not complain on anything.

Any clues would be much appriciated. Here is my php.ini file: http://pastebin.com/z8LBsmmw

  • 写回答

2条回答 默认 最新

  • dongyunque2511 2012-05-05 20:13
    关注

    Maybe you have enabled output_buffering ? also, enabling an output_handler(like a compression handler, eg gzip) can buffer, at least up until a certain chunk size is reached.

    browsers buffer too sometimes. outputting a bunch of whitespace can get around that.

    评论

报告相同问题?

悬赏问题

  • ¥20 怎么用dlib库的算法识别小麦病虫害
  • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
  • ¥15 java写代码遇到问题,求帮助
  • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
  • ¥15 有了解d3和topogram.js库的吗?有偿请教
  • ¥100 任意维数的K均值聚类
  • ¥15 stamps做sbas-insar,时序沉降图怎么画
  • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看
  • ¥15 关于#Java#的问题,如何解决?
  • ¥15 加热介质是液体,换热器壳侧导热系数和总的导热系数怎么算