• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Debugger Woes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debugger Woes


  • Subject: Debugger Woes
  • From: Andreas Grosam <email@hidden>
  • Date: Thu, 01 Mar 2012 13:44:03 +0100

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

(lldb) print [_switch hidden]
error: no known method '-hidden'; cast the message send to the method's return type
error: 1 errors parsing expression

(lldb) print (BOOL)[_switch hidden]
error: Couldn't execute function; result was eExecutionDiscarded

(lldb) print (BOOL)[(UIView*)_switch hidden]
error: Couldn't execute function; result was eExecutionDiscarded

(lldb) print (int)[_switch hidden]
error: Couldn't execute function; result was eExecutionDiscarded

(lldb) print (int)_switch.hidden
error: property 'hidden' not found on object of type 'UISwitch *'
error: 1 errors parsing expression

(lldb) print (int) ((UIView*)
error: property 'hidden' not found on object of type 'UIView *'
error: 1 errors parsing expression


Help appreciated.
Tanks in advance.


Regards
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


  • Follow-Ups:
    • Re: Debugger Woes
      • From: glenn andreas <email@hidden>
  • Prev by Date: Re: Xcode - An Apple Embarrassment
  • Next by Date: Re: Xcode 4.3 not scrolling to error/warning location
  • Previous by thread: Re: How Do I Display Line Numbers?
  • Next by thread: Re: Debugger Woes
  • Index(es):
    • Date
    • Thread