【问题标题】:NetBeans debugger stops on index.php with no breakpointNetBeans 调试器在 index.php 上停止,没有断点
【发布时间】:2017-04-06 13:57:50
【问题描述】:

每当我在 NetBeans IDE 8.1 中启动调试会话时,程序总是停在 index.php 中的这一行:

require_once(dirname(__FILE__).'/../config/ProjectConfiguration.class.php');

所以我必须从那里继续,有时甚至不止一次,这太烦人了。

我试图清除所有断点,但它不起作用(这条线甚至没有被列为断点)。

有什么建议吗?

【问题讨论】:

  • 是否存在断点?或者你在文件的开头打破它?

标签: php debugging netbeans netbeans-8


【解决方案1】:

有一个配置设置来控制这个

Tools->Options 
Click the PHP icon in the icon bar
Select the debugging tab
Uncheck the "Stop at first line" checkbox.

【讨论】:

  • 太棒了,这就是我想要的。谢谢。
  • 一直在找这个 2 天,尽管将其作为默认值检查会是个好主意
猜你喜欢
  • 2016-07-05
  • 2017-11-01
  • 1970-01-01
  • 1970-01-01
  • 2023-04-05
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2022-01-28
相关资源
最近更新 更多