Search code examples
phpdebuggingnetbeansnetbeans-8

NetBeans debugger stops on index.php with no breakpoint


Whenever I start a debugging session in NetBeans IDE 8.1, the program always stops at this line in index.php:

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

So I have to continue from there, even more than once sometimes, and its so annoying.

I tried to clear all break points but it won't work (this line is not even listed as a break point).

Any suggestions?


Solution

  • There is a config setting to control this

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