dtf579777 2016-08-04 02:36
浏览 102
已采纳

Netbeans断点不与xdebug一起使用

Right i'm pulling my hair out on this one.

I'm using Netbeans, EasyPHP, and Installed xdebug using by copy/pasting my phpinfo() results into the xdebug wizard which then tells you which .dll file you need to download.

Well i've followed all the instructions, my phpinfo() now says xdebug is installed, I've added the appropiate lines in my php.ini file. However, my breakpoints in Netbeans do not work! I know that xdebug is installed because if I manually add xdebug_break() to my code then they act as a breakpoint.

How can I get netbeans and breakpoints to work without manually using the xdebug php function everytime ?!

PS. I know this question has been asked a million times but I've followed the other solutions and none have fixed my problem!

I'm using XP if that shines any light on the matter?

  • 写回答

1条回答 默认 最新

  • dornc9470 2016-08-04 05:52
    关注

    After many painful hours, I have found out that I had both:

    extension = php_xdebug.dll
    

    uncommented in my php.ini file and:

    zend_extension = C:\path-to-xdebug-file\php_xdebug.dll

    added in my php.ini file. You're supposed to have one or the other!

    Anyway I changed

    extension = php_xdebug.dll

    to

    ;extension = php_xdebug.dll

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记