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.

1 comment
Comment actions Permalink

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: - stay tuned. We'll try to fix it in bugfix update.


Please sign in to leave a comment.