Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #import <Foundation/Foundation.h>
- int main(int argc, const char * argv[]) {
- @autoreleasepool {
- NSURL *url = ...
- NSDictionary *dict = [NSDictionary dictionaryWithContentsOfURL:url];
- NSLog(@"%@", dict);
- }
- return 0;
- }
- (lldb) breakpoint set -r '.*NSPropertyListSerialization.*'
- (lldb) bt
- * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
- * frame #0: 0x00007fff4f22a018 Foundation`+[NSPropertyListSerialization propertyListWithData:options:format:error:]
- frame #1: 0x00007fff4f229bbf Foundation`+[NSDictionary(NSDictionary) newWithContentsOf:immutable:] + 158
- frame #2: 0x00007fff4f242fe9 Foundation`+[NSDictionary(NSDictionary) dictionaryWithContentsOfURL:] + 45
- frame #3: 0x0000000100000e7d MyGreatProject`main(argc=1, argv=0x00007ffeefbff6a0) at main.m:15
- frame #4: 0x00007fff75461015 libdyld.dylib`start + 1
Add Comment
Please, Sign In to add comment