Add a transparent rectangle to the window to reveal a possibly obscured or hidden view or layer's bounds

(lldb) mask <viewOrLayer>
(lldb) unmask <viewOrLayer>

Force Core Animation to flush. This will 'repaint' the UI but also may mess with ongoing animations

(lldb) caflush

Present a view controller

(lldb) present <aViewController>

Dismiss a presented view controller

(lldb) dismiss <aViewController>

Slows down animations. Works on the iOS Simulator and a device

(lldb) slowanim

Turn off slow animations

(lldb) unslowanim

Flicker Commands

Quickly show and hide a view to quickly help visualize where it is

(lldb) flicker <viewOrLayer>

Interactively search for a view by walking the hierarchy

(lldb) vs <view>

Find Commands

Find the view controllers whose class names match classNameRegex and puts the address of first on the clipboard

(lldb) fvc <classNameRegex>

Find the views whose class names match classNameRegex and puts the address of first result on the clipboard

(lldb) fv <classNameRegex>

Visualization Commands

Open a UIImage in Preview.app on your Mac

(lldb) showimage <anImage>

Open a CGImageRef in Preview.app on your Mac

(lldb) showimageref <anImageRef>

Render the given UIView into an image and open it in Preview.app on your Mac

(lldb) showview <aView>

Render the given CALayer into an image and open it in Preview.app on your Mac

(lldb) showlayer <aLayer>

Invocation Commands

Print the stack frame, receiver, and arguments of the current invocation. It will fail to print all arguments if any arguments are variadic (varargs)

(lldb) pinvocation [--all]

Note: sadly this is currently only implemented on x86.

Debug Commands

Set a watchpoint for an object's instance variable

(lldb) wivar <object> <ivarName>

Set a breakpoint for a selector on a class, even if the class itself doesn't override that selector. It walks the hierarchy until it finds a class that does implement the selector and sets a conditional breakpoint there

(lldb) bmessage <expression>
(lldb) bmessage -[MyView setFrame:]

Set a breakpoint for a relative address within the framework/library that's currently running. This does the work of finding the offset for the framework/library and sliding your address accordingly

(lldb) binside <address>

Simulate a memory warning

(lldb) mwarning

Print Commands

Print the recursion description of aView

(lldb) pviews <aView>

Print layer tree from the perspective of the render server

(lldb) pca

Print the recursion description of aViewController

(lldb) pvc <aViewController>

Prints if the code is currently execution with a UIView animation block

(lldb) panim

Print the inheritance starting from an instance of any class

(lldb) pclass <anObject>

Print the responder chain starting from a specific responder

(lldb) presponder <startResponder>

Print the highest table view in the hierarchy

(lldb) ptv

Print the visible cells of the highest table view in the hierarchy

(lldb) pcells

Show the internals of an object by dereferencing it as a pointer

(lldb) pinternals <anObject>

Print the value of an object's named instance variable

(lldb) pivar <anObject> <ivarName>

Print out the value of the key path expression using -valueForKeyPath: