How to assign complex breakpoint condition?

Hello

Trying to tune PHPStorm 6 to stop debuging when some object having certain structure and values.
E.g. I need PHPStorm to stop when $cursor can be described like:
cursor.jpg
How can I input such condition for breakpoint?

0

Conditional breakpoints: http://www.jetbrains.com/phpstorm/webhelp/configuring-breakpoints.html .

If it's not an option, vote for the lnown issue: http://youtrack.jetbrains.com/issue/WI-7992 .

0
Avatar
Permanently deleted user

Liubov, please supply some example of condition for breakpoint definition
e.g. I need the Storm to be stopped when $some_variable == 4
Do I need to point this code ($some_variable == 4) in condition without any additional marks or symbols? Please supply an example for conditional breakpoint.

Yes, it seems that I need to print exact $some_variable == 4 value in conditional row

0

请先登录再写评论。