Re: Debugger Woes
Re: Debugger Woes
- Subject: Re: Debugger Woes
- From: Andreas Grosam <email@hidden>
- Date: Fri, 02 Mar 2012 08:33:01 +0100
On Mar 1, 2012, at 4:14 PM, glenn andreas wrote: On Mar 1, 2012, at 6:44 AM, Andreas Grosam wrote: I would like to figure some properties from a UIControl from within lldb. I can swear that this kind of thing worked in earlier versions.
What I'm doing wrong here?
(lldb) po _switch
(UISwitch *) $12 = 0x00159060 <UISwitch: 0x159060; frame = (107 392; 94 27); clipsToBounds = YES; opaque = NO; autoresize = RM+BM; layer = <CALayer: 0x158150>>
(lldb) print _switch.hidden
error: property 'hidden' not found on object of type 'UISwitch *'
error: 1 errors parsing _expression_
The getter for the 'hidden' property is 'isHidden'. Try: print (BOOL)[_switch isHidden]
Doh! Of course ;) It's too tempting to put Xcode under general suspicion these days. Sorry for this.
Andreas
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden