Tower
Tower

Reputation: 102755

PHP, Eclipse/Zend Studio & Debugging with expressions

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?

Upvotes: 1

Views: 254

Answers (1)

Vladislav Rastrusny
Vladislav Rastrusny

Reputation: 29965

That's a conditional breakpoint. Set breakpoint in editor by clicking on gutter. Then right-click it and type condition in PHP.

Upvotes: 1

Related Questions