How to find attribute value in debugger?

Posted by 4thSpace on Stack Overflow See other posts from Stack Overflow or by 4thSpace
Published on 2010-05-03T22:57:28Z Indexed on 2010/05/04 0:08 UTC
Read the original article Hit count: 149

I have a button and would like to know its enabled state while stepping through code. This doesn't work in the debugger:

po self.myButton.enabled

It prints:

There is no member named enabled.

Is there another way to print out its state?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk