dow46218 2014-10-03 15:10
浏览 81

Symfony2 XDebug在断点处停止,无法对调试按钮执行任何操作

I have installed XDebug for Symfony2.

I have edit php->php.ini with:

zend_extension = "c:/wamp/bin/php/php5.5.12/ext/php_xdebug-2.2.5-5.5-vc11-x86_64.dll"
;
[xdebug]
xdebug.remote_enable = off
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "c:/wamp/tmp

And apache->php.ini:

zend_extension = "c:/wamp/bin/php/php5.5.12/ext/php_xdebug-2.2.5-5.5-vc11-x86_64.dll"
;
[xdebug]
xdebug.remote_enable = on
xdebug.remote_handler = dbgp
xdebug.remote_host = 127.0.0.1
xdebug.remote_port = 9000
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "c:/wamp/tmp"
xdebug.max_nesting_level = 10000

My run configuration is:
Project URL: http://localhost/testing/web/app_dev.php Debug URL: Ask Every Time

Path mapping: Server path: C:/wamp/www/testing Project path: C:\wamp\www\Testing\src\Acme\LogInSystemBundle

My problem is when I start debugging, it stops on breakpoint and I can't do anything with debug buttons, even I can click on it. Therefore, how can I resolve this problem? Thanks in advance!

  • 写回答

1条回答 默认 最新

  • dongsutao8921 2014-10-06 09:20
    关注

    In wamp/bin/php/php_xxx/ I have a folder called "zend_ext". My php.ini there is a line:

    zend_extension = "c:/wamp/bin/php/php5.4.12/zend_ext/php_xdebug-2.2.3-5.4-vc9-x86_64.dll"

    Maybe you should check out this pageÉ http://wiki.netbeans.org/HowToConfigureXDebug#How_to_configure_xdebug_with_WAMP

    评论

报告相同问题?

悬赏问题

  • ¥50 永磁型步进电机PID算法
  • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?
  • ¥88 找成都本地经验丰富懂小程序开发的技术大咖
  • ¥15 如何处理复杂数据表格的除法运算
  • ¥15 如何用stc8h1k08的片子做485数据透传的功能?(关键词-串口)
  • ¥15 有兄弟姐妹会用word插图功能制作类似citespace的图片吗?
  • ¥200 uniapp长期运行卡死问题解决
  • ¥15 latex怎么处理论文引理引用参考文献
  • ¥15 请教:如何用postman调用本地虚拟机区块链接上的合约?
  • ¥15 为什么使用javacv转封装rtsp为rtmp时出现如下问题:[h264 @ 000000004faf7500]no frame?