iOS's LLDB's P command not printing frame variable

ios, lldb, xcode

Solution

You can do this:

p (CGRect)[uiTextFieldObj frame]

As of Xcode 4.5.2, printing properties in lldb using the dot syntax only seems to work for properties of objects defined in your app, not for properties defined by framework classes.

Problem

Lets say I want to do a ``` p uiTextFieldObj.frame ``` it will say error: property ``` 'frame' not found on object of type 'UITextField *' ``` Is there any tricks I can do so I can get this to show?

Original source