Skip to content

Instantly share code, notes, and snippets.

@wokalski
Created June 11, 2014 09:49
Show Gist options
  • Save wokalski/b36c1d83c880ee79f439 to your computer and use it in GitHub Desktop.
Save wokalski/b36c1d83c880ee79f439 to your computer and use it in GitHub Desktop.
(lldb) po aView
<NSTextField: 0x600000199710>
(lldb) po aView
<NSImageView: 0x600000179380>
(lldb) po aView
<NSView: 0x60800013b440>
(lldb) bt all
* thread #1: tid = 0x33e7db, 0x000000010002cda9 Focusbar`-[TestImageView addSubview:](self=0x0000600000178000, _cmd=0x00007fff9870f817, aView=0x000060800013b440) + 57 at TestImageView.m:15, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
* frame #0: 0x000000010002cda9 Focusbar`-[TestImageView addSubview:](self=0x0000600000178000, _cmd=0x00007fff9870f817, aView=0x000060800013b440) + 57 at TestImageView.m:15
frame #1: 0x00007fff97e0882f AppKit`-[NSImageView _updateImageView] + 762
frame #2: 0x00007fff97dc782d AppKit`-[NSImageView layout] + 115
frame #3: 0x00007fff97e40a93 AppKit`-[NSView(NSLayerKitGlue) _layoutSublayersOfLayer:] + 407
frame #4: 0x00007fff8def5e51 QuartzCore`-[CALayer layoutSublayers] + 214
frame #5: 0x00007fff97e408eb AppKit`_NSBackingLayerLayoutSublayers + 160
frame #6: 0x00007fff8def5a25 QuartzCore`CA::Layer::layout_if_needed(CA::Transaction*) + 363
frame #7: 0x00007fff8def58a6 QuartzCore`CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 24
frame #8: 0x00007fff8def533c QuartzCore`CA::Context::commit_transaction(CA::Transaction*) + 236
frame #9: 0x00007fff8def4fd6 QuartzCore`CA::Transaction::commit() + 388
frame #10: 0x00007fff97e40652 AppKit`-[NSView(NSLayerKitGlue) _drawRectAsLayerTree:] + 591
frame #11: 0x00007fff97e3f351 AppKit`-[NSView _drawRect:clip:] + 422
frame #12: 0x00007fff97e3e8c4 AppKit`-[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1799
frame #13: 0x00007fff97e3c706 AppKit`-[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 841
frame #14: 0x00007fff97f6bc13 AppKit`-[NSNextStepFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 303
frame #15: 0x00007fff97e38e9f AppKit`-[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2828
frame #16: 0x00007fff97e182fa AppKit`-[NSView displayIfNeeded] + 1680
frame #17: 0x00007fff97f623eb AppKit`-[NSNextStepFrame displayIfNeeded] + 156
frame #18: 0x00007fff97fddd40 AppKit`-[NSWindow display] + 105
frame #19: 0x00007fff97e0b341 AppKit`__67-[NSWindow _updateSettingsSendingScreenChangeNotificationIfNeeded:]_block_invoke + 237
frame #20: 0x00007fff97e0b208 AppKit`NSPerformWithScreenUpdatesDisabled + 65
frame #21: 0x00007fff97e0b1b7 AppKit`-[NSWindow _updateSettingsSendingScreenChangeNotificationIfNeeded:] + 197
frame #22: 0x00007fff97e034b1 AppKit`-[NSWindow _setFrame:updateBorderViewSize:] + 914
frame #23: 0x00007fff97e02a2e AppKit`-[NSWindow _oldPlaceWindow:] + 652
frame #24: 0x00007fff97e01e5c AppKit`-[NSWindow _setFrameCommon:display:stashSize:] + 1633
frame #25: 0x000000010001724b Focusbar`-[ActivityWindowController(self=0x00006000001368a0, _cmd=0x000000010003b8c4, shouldBlur='\x01') replaceNewActivityViewWithActivityViewWithBlur:] + 1979 at ActivityWindowController+Animations.m:59
frame #26: 0x000000010001b0fd Focusbar`-[ActivityWindowController(self=0x00006000001368a0, _cmd=0x000000010003b569, navc=0x00006080000d6ff0, name=0x0000600000053440) newActivityController:didStartNewActivityNamed:] + 253 at ActivityWindowController+NewActivity.m:208
frame #27: 0x00000001000158df Focusbar`-[NewActivityViewController activityAccepted](self=0x00006080000d6ff0, _cmd=0x000000010003b4ec) + 927 at NewActivityViewController.m:54
frame #28: 0x0000000100016350 Focusbar`-[NewActivityView control:textView:doCommandBySelector:](self=0x00006080001460f0, _cmd=0x00007fff987267b4, control=0x000060800019a750, textView=0x0000600000137ac0, commandSelector=0x00007fff987812bf) + 384 at NewActivityView.m:64
frame #29: 0x00007fff97f4618f AppKit`-[NSTextField textView:doCommandBySelector:] + 93
frame #30: 0x00007fff97f460e4 AppKit`-[NSTextView doCommandBySelector:] + 158
frame #31: 0x00007fff97f18151 AppKit`-[NSKeyBindingManager(NSKeyBindingManager_MultiClients) interpretEventAsCommand:forClient:] + 1392
frame #32: 0x00007fff97f371c2 AppKit`-[NSTextInputContext handleEvent:] + 845
frame #33: 0x00007fff97f169dd AppKit`-[NSView interpretKeyEvents:] + 180
frame #34: 0x00007fff97f36d6d AppKit`-[NSTextView keyDown:] + 658
frame #35: 0x00007fff97ee356b AppKit`-[NSWindow sendEvent:] + 1843
frame #36: 0x00007fff97e84b32 AppKit`-[NSApplication sendEvent:] + 3395
frame #37: 0x00007fff97cd4a19 AppKit`-[NSApplication run] + 646
frame #38: 0x00007fff97cbf7a3 AppKit`NSApplicationMain + 940
frame #39: 0x00000001000043a3 Focusbar`main(argc=3, argv=0x00007fff5fbff888) + 435 at main.m:373
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment