PHP, Eclipse/Zend Studio & Debugging with expressions
-
11-09-2019 - |
Question
I have a variable in my PHP application that changes often, I'd like to debug so that it keeps executing until the variable changes to a specific value (in this case boolean true). I've heard this could be done with expressions? True?
Solution
That's a conditional breakpoint. Set breakpoint in editor by clicking on gutter. Then right-click it and type condition in PHP.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow