Conditional Breakpoints - how?

I want to stop at a breakpoint when an object's tyag property has a particular value.

I right-click on the breakpoint and select 'edit'

'Suspend' is checked.

I type 'obj.tag != -1' in the Condition

then I continue.

The breakpoint is hit, I examine the object - it's tag property has a value of -1

a) Is there something I amdoing wrong.
b) Is there any docco on the debugger?

Cheers chaps.

0

Hello, Max.

In your particulat case you may try something like "(NSInteger)[obj tag] != -1". Please let us know if it helps.
Here is an issue for this problem: http://youtrack.jetbrains.com/issue/OC-5041 - stay tuned. We'll try to fix it in bugfix update.

0

请先登录再写评论。