NetBeans调试器在index.php上停止,没有断点

时间:2017-04-06 13:57:51

标签: php debugging netbeans netbeans-8

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

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

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

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

有什么建议吗?

1 个答案:

答案 0 :(得分:3)

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

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