Inspecting Heap Objects with LLDB

When a new object is created in Objective-C, a chunk of space is allocated on heap for the object structure and a pointer saved to that structure on the stack. NSObject *myobj1 = [NSObject alloc] init]; Even though things seem to change slightly from version to version the structure of an…