Does LLDB have convenience variables? If so, how do I use them? If not, is there anything similar that I can use?
Reference: http://software.intel.com/sites/products/doc
I struggled with this today. Here's what it looks like to deal with Objective-C variables in LLDB:
expr UIApplication *$app = (UIApplication *)[UIApplication sharedApplication]
expr UIWindow *$keyWindow = (UIWindow *)[$app keyWindow]
etc. I've found LLDB works best if you don't nest any calls, and you explicitly give a return type on every call.
Still I am getting a segmentation fault when I try to make initWithFrame:
work on a UIView later on though. :/