1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
ItemData item;
item.nMainID=1;
item.nSubID=2;
item.pszTitle=@
"hello"
;
NSRect rect=NSMakeRect(0, 10, 10, 10);
调试命令及输出结果:
(lldb)
print rect
(NSRect) $0 = (x=0, y=10), (width=10, height=10)
(lldb) p item
(ItemData) $3 = {
pszTitle = 0x0000000100001370 @
"hello"
nMainID = 1
nSubID = 2
}
|
(lldb) bt
* thread #1: tid = 0x172ec, 0x0303edd0 libobjc.A.dylib`objc_exception_throw, queue = 'com.apple.main-thread', stop reason = breakpoint 23.1
frame #0: 0x0303edd0 libobjc.A.dylib`objc_exception_throw
frame #1: 0x035809ad CoreFoundation`+[NSException raise:format:] + 141
frame #2: 0x010ae0f5 UIKit`-[UITableViewController loadView] + 552
frame #3: 0x00e1c0d8 UIKit`-[UIViewController loadViewIfRequired] + 154
frame #4: 0x00e1c9c5 UIKit`-[UIViewController view] + 35
frame #5: 0x010adb0f UIKit`-[UITableViewController tableView] + 36
frame #6: 0x010aeaba UIKit`-[UITableViewController _viewControllerWasSelected] + 36
frame #7: 0x00e623d7 UIKit`-[UINavigationController _viewControllerWasSelected] + 64
frame #8: 0x00e7f50c UIKit`-[UITabBarController viewDidAppear:] + 169
frame #9: 0x00e22582 UIKit`-[UIViewController _setViewAppearState:isAnimating:] + 774
frame #10: 0x00e22d01 UIKit`-[UIViewController __viewDidAppear:] + 166
frame #11: 0x00e22fda UIKit`-[UIViewController _endAppearanceTransition:] + 280
frame #12: 0x00e642d8 UIKit`-[UINavigationController navigationTransitionView:didEndTransition:fromView:toView:] + 1340
frame #13: 0x01155a72 UIKit`-[UINavigationTransitionView _notifyDelegateTransitionDidStopWithContext:] + 458
frame #14: 0x01155e26 UIKit`-[UINavigationTransitionView _cleanupTransition] + 843
frame #15: 0x01155e8e UIKit`-[UINavigationTransitionView _navigationTransitionDidStop] + 55
frame #16: 0x00cea9af UIKit`-[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 247
frame #17: 0x00ce72e2 UIKit`+[UIViewAnimationState popAnimationState] + 350
frame #18: 0x00d0cd62 UIKit`+[UIView(Animation) commitAnimations] + 36
frame #19: 0x011557b2 UIKit`-[UINavigationTransitionView transition:fromView:toView:] + 2909
frame #20: 0x01154c4c UIKit`-[UINavigationTransitionView transition:toView:] + 56
frame #21: 0x00e69722 UIKit`-[UINavigationController _startTransition:fromViewController:toViewController:] + 3791
frame #22: 0x00e69ce0 UIKit`-[UINavigationController _startDeferredTransitionIfNeeded:] + 1038
frame #23: 0x00e6ae3b UIKit`-[UINavigationController __viewWillLayoutSubviews] + 68
frame #24: 0x01046193 UIKit`-[UILayoutContainerView layoutSubviews] + 252
frame #25: 0x00d1beb7 UIKit`-[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 813
frame #26: 0x03053059 libobjc.A.dylib`-[NSObject performSelector:withObject:] + 70
frame #27: 0x02af580a QuartzCore`-[CALayer layoutSublayers] + 144
frame #28: 0x02ae94ee QuartzCore`CA::Layer::layout_if_needed(CA::Transaction*) + 388
frame #29: 0x02ae9352 QuartzCore`CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 26
frame #30: 0x02adbe8b QuartzCore`CA::Context::commit_transaction(CA::Transaction*) + 317
frame #31: 0x02b0fe03 QuartzCore`CA::Transaction::commit() + 561
frame #32: 0x02b106c4 QuartzCore`CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 92
frame #33: 0x0349a61e CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 30
frame #34: 0x0349a57e CoreFoundation`__CFRunLoopDoObservers + 398
frame #35: 0x0348fefc CoreFoundation`__CFRunLoopRun + 1340
frame #36: 0x0348f706 CoreFoundation`CFRunLoopRunSpecific + 470
frame #37: 0x0348f51b CoreFoundation`CFRunLoopRunInMode + 123
frame #38: 0x044cb664 GraphicsServices`GSEventRunModal + 192
frame #39: 0x044cb4a1 GraphicsServices`GSEventRun + 104
frame #40: 0x00c521eb UIKit`UIApplicationMain + 160
* frame #41: 0x0027b4ca EzPlug`main(argc=1, argv=0xbffbc8d0) + 138 at main.m:16
frame #42: 0x03b9ca21 libdyld.dylib`start + 1