Search code examples
phpeclipsedebuggingzend-debugger

Eclipse and Zend Debugger breaks in the first line always, despite having unchecked that option


I unchecked the break on first line option in the PHP debug configuration, but it still breaks in the first line, no matter what.
How can I prevent this?

I'm using MacOSX, Eclipse PDT 3.0.2 with the Zend Debugger.


Solution

  • After a lot of googling I found out how to solve this problem. There are three places where the "Break on first line" configuration can be set.

    • Window -> Prefrences -> PHP -> Debug
    • Project -> Properties -> PHP Debug
    • Run -> Debug Configurations -> PHP Web Page -> <Your configuration> -> Server-Tab

    Where the latter one overrides the previous one.