Skip to content

Instantly share code, notes, and snippets.

@alloy
Last active June 2, 2023 10:01
Show Gist options
  • Save alloy/549ba0dd228fc0551180 to your computer and use it in GitHub Desktop.
Save alloy/549ba0dd228fc0551180 to your computer and use it in GitHub Desktop.
Finding the Xcode issues navigator
~/C/A/eigen [master] » lldb -p (pgrep '^Xcode$')
(lldb) process attach --pid 34726
Process 34726 stopped
Executable module set to "/Applications/Xcode-Beta.app/Contents/MacOS/Xcode".
Architecture set to: x86_64-apple-macosx.
(lldb) po [[NSApplication sharedApplication] windows]
<__NSArrayM 0x7fe18be755d0>(
<IDEWorkspaceWindow: 0x7fe18045ba40>,
<_NSFullScreenUnbufferedWindow: 0x7fe1841b18d0>,
<_NSFullScreenTransitionOverlayWindow: 0x7fe1841b3770>,
<NSToolbarFullScreenWindow: 0x7fe1842c38f0>,
<NSToolTipPanel: 0x7fe17f6d9270>
)
(lldb) expr IDEWorkspaceWindow *$window = (IDEWorkspaceWindow *)[[[NSApplication sharedApplication] windows] objectAtIndex:0]
(lldb) po $window
<IDEWorkspaceWindow: 0x7fe18045ba40>
(lldb) po [[$window contentView] _subtreeDescription]
[ A ] h=-&- v=-&- NSView 0x7fe180458470 f=(0,0,1920,1138) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ AF ] h=-&- v=-&- NSTabView 0x7fe1804586d0 f=(0,0,1920,1138) b=(-) TIME drawRect: min/mean/max 0.00/0.07/1.44 ms
[ A ] h=-&- v=-&- DVTControllerContentView 0x7fe183fd80e0 f=(0,0,1920,1138) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ AF P ] h=--- v=--- DVTSplitView 0x7fe183fd94a0 f=(0,0,1920,1138) b=(-) TIME drawRect: min/mean/max 0.01/0.04/0.72 ms
[ ] h=-&- v=-&- DVTReplacementView 0x7fe183fdf570 f=(0,0,303,1138) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=-&- v=-&- DVTControllerContentView 0x7fe183fe5d50 f=(0,0,303,1138) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=--- v=--- DVTBorderedView 0x7fe183fe9a10 f=(0,0,303,1138) b=(-) TIME drawRect: min/mean/max 0.01/0.78/16.69 ms
[ A ] h=-&- v=-&- NSVisualEffectView 0x7fe183ff1a30 f=(0,0,302,1138) b=(-) TIME drawRect: min/mean/max 0.01/0.20/0.54 ms
[ ] h=-&- v=-&- DVTReplacementView 0x7fe183fe6390 f=(0,28,302,1081) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=-&- v=-&- DVTControllerContentView 0x7fe18f707cc0 f=(0,0,302,1081) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=--- v=--- NSView 0x7fe18f71b200 f=(0,0,302,1081) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=-&- v=&-- DVTScopeBarView 0x7fe1618d6180 f=(0,1052,302,29) b=(-) TIME drawRect: min/mean/max 0.03/0.04/0.05 ms
[ AF ] h=--& v=&-- DVTScopeBarButton 0x7fe1613d4ab0 "By Type" f=(69,6,59,17) b=(-) TIME drawRect: min/mean/max 1.34/1.41/1.48 ms
[ AF ] h=--& v=&-- DVTScopeBarButton 0x7fe18a330d00 "By File" f=(12,6,53,17) b=(-) TIME drawRect: min/mean/max 0.78/1.11/1.44 ms
[ AF ] h=-&- v=-&- DVTScrollView 0x7fe17ea99250 f=(0,0,302,1052) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=--- v=--- NSVisualEffectView 0x7fe18c3e8d00 f=(0,0,302,1052) b=(-) TIME drawRect: min/mean/max 0.11/0.29/0.54 ms
[ AF ] h=-&- v=-&- NSClipView 0x7fe188ac1570 f=(0,0,302,1052) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ AF P ] h=-&- v=-&- IDENavigatorOutlineView 0x7fe18fc3e130 f=(0,0,302,1052) b=(-) TIME drawRect: min/mean/max 18.32/24.28/28.53 ms
[ HAF ] h=--- v=--- NSScroller 0x7fe186a5ce00 f=(162,1,15,230) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A W #] h=--- v=--- DVTShadowView 0x7fe18aa7ead0 f=(0,1051,302,1) b=(-) => <_NSViewBackingLayer: 0x7fe17f24dba0> TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ HAF ] h=--- v=--- NSScroller 0x7fe18e1171a0 f=(1,231,161,15) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=-&- v=&-- DVTChooserView 0x7fe183fe7310 f=(0,1109,302,29) b=(-) TIME drawRect: min/mean/max 0.02/0.06/0.93 ms
[ AF ] h=--- v=--- NSMatrix 0x7fe183fe84d0 "1" f=(31,1,241,28) b=(-) TIME drawRect: min/mean/max 1.23/12.67/284.07 ms
[ A ] h=-&- v=--& IDENavigatorFilterControlBar 0x7fe183ff1df0 f=(0,0,302,28) b=(-) TIME drawRect: min/mean/max 0.00/0.02/0.50 ms
[ AF ] h=-&- v=--- DVTSearchField 0x7fe183ff2aa0 f=(46,3,251,22) b=(-) TIME drawRect: min/mean/max 0.20/2.55/50.97 ms
[ AF ] h=--- v=--- DVTGradientImageButton 0x7fe18aad92a0 f=(6,4,17,20) b=(-) TIME drawRect: min/mean/max 0.31/1.02/1.73 ms
[ AF ] h=--- v=--- DVTGradientImageButton 0x7fe18aad9350 f=(25,4,17,20) b=(-) TIME drawRect: min/mean/max 0.28/1.20/2.12 ms
[ ] h=-&- v=-&- DVTReplacementView 0x7fe183fda500 f=(303,0,1617,1138) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=-&- v=-&- DVTControllerContentView 0x7fe183ff3810 f=(0,0,1617,1138) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ AF P ] h=--- v=--- DVTSplitView 0x7fe183f2fc20 f=(0,0,1617,1138) b=(-) TIME drawRect: min/mean/max 0.01/0.02/0.10 ms
[ A ] h=-&- v=-&- DVTLayoutView_ML 0x7fe183ff6580 f=(0,0,1617,862) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=-&- v=--& DVTBorderedView 0x7fe183fe8150 f=(0,0,1617,29) b=(-) TIME drawRect: min/mean/max 0.01/0.17/6.85 ms
[ ] h=-&- v=-&- DVTReplacementView 0x7fe183ff84e0 f=(0,0,1617,28) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=-&- v=-&- DVTControllerContentView 0x7fe184106500 f=(0,0,1617,28) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=--- v=--- DVTBorderedView 0x7fe184106280 f=(0,0,1617,28) b=(-) TIME drawRect: min/mean/max 0.02/0.31/19.66 ms
[ AF ] h=--& v=--- DVTGradientImageButton 0x7fe184109e40 f=(0,0,32,28) b=(-) TIME drawRect: min/mean/max 0.16/1.41/26.98 ms
[ AF ] h=--- v=--- DVTGradientImageButton 0x7fe184168300 f=(32,0,32,28) b=(-) TIME drawRect: min/mean/max 0.10/0.75/23.86 ms
[ AF ] h=--- v=--- DVTGradientImageButton 0x7fe18423e370 f=(64,0,32,28) b=(-) TIME drawRect: min/mean/max 0.15/1.10/50.45 ms
[ AF ] h=--- v=--- IDEStepGradientImageButton 0x7fe18416ca10 f=(96,0,32,28) b=(-) TIME drawRect: min/mean/max 0.15/0.82/17.65 ms
[ AF ] h=--- v=--- IDEStepGradientImageButton 0x7fe184176ab0 f=(128,0,32,28) b=(-) TIME drawRect: min/mean/max 0.15/1.12/66.05 ms
[ AF ] h=--- v=--- DVTGradientImageButton 0x7fe18417a840 f=(160,0,32,28) b=(-) TIME drawRect: min/mean/max 0.16/0.48/5.13 ms
[ AF P ] h=-&- v=--- IDEPathControl 0x7fe1841818d0 f=(192,0,1421,28) b=(-) TIME drawRect: min/mean/max 0.25/8.59/355.77 ms
[ A ] h=-&- v=-&- NSView 0x7fe183ff9040 f=(0,29,1617,833) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=-&- v=-&- DVTControllerContentView 0x7fe186900e30 f=(0,0,1617,833) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=--- v=--- DVTControllerContentView 0x7fe1840f7b10 f=(0,0,1617,833) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=--- v=--- NSView 0x7fe1840fba50 f=(0,0,1617,833) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=-&- v=&-- IDENavBar 0x7fe1840f8210 f=(0,804,1617,29) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=-&- v=-&- DVTBorderedView 0x7fe1840f94f0 f=(81,0,1536,29) b=(-) TIME drawRect: min/mean/max 0.04/0.10/0.62 ms
[ AF O P ] h=-&- v=-&- IDEPathControl 0x7fe1840f9870 f=(0,1,1536,28) b=(-) TIME drawRect: min/mean/max 0.27/3.85/45.77 ms
[ A ] h=--& v=-&- IDEControlGroup 0x7fe1840fa740 f=(0,0,81,29) b=(-) TIME drawRect: min/mean/max 0.02/0.10/1.04 ms
[ A ] h=--- v=--- DVTBorderedView 0x7fe186902ec0 f=(0,1,28,28) b=(-) TIME drawRect: min/mean/max 0.01/0.02/0.05 ms
[ AF ] h=--- v=--- DVTGradientImagePopUpButton 0x7fe1840f5a80 f=(0,0,28,28) b=(-) TIME drawRect: min/mean/max 0.19/0.93/21.94 ms
[ A ] h=--- v=--- DVTBorderedView 0x7fe186903360 f=(28,1,27,28) b=(-) TIME drawRect: min/mean/max 0.01/0.02/0.07 ms
[ AF ] h=--- v=--- DVTDelayedMenuGradientImageButton 0x7fe184201930 f=(0,0,27,28) b=(-) TIME drawRect: min/mean/max 0.17/0.74/8.04 ms
[ A ] h=--- v=--- DVTBorderedView 0x7fe1868ed4f0 f=(55,1,26,28) b=(-) TIME drawRect: min/mean/max 0.01/0.02/0.05 ms
[ AF ] h=--- v=--- DVTDelayedMenuGradientImageButton 0x7fe1842026e0 f=(0,0,26,28) b=(-) TIME drawRect: min/mean/max 0.16/0.49/9.39 ms
[ HA ] h=&-- v=-&- IDEControlGroup 0x7fe1840fae40 f=(1568,0,1,29) b=(-) TIME drawRect: min/mean/max 0.03/0.03/0.03 ms
[ A ] h=-&- v=-&- DVTBorderedView 0x7fe1840fb2c0 f=(0,0,1617,804) b=(-) TIME drawRect: min/mean/max 0.19/0.77/1.50 ms
[ A ] h=-&- v=-&- DVTControllerContentView 0x7fe18a0d3490 f=(0,0,1617,804) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=--- v=--- DVTBorderedView 0x7fe18ee81dc0 f=(0,0,1617,804) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ ] h=-&- v=-&- DVTReplacementView 0x7fe18e35f8a0 f=(0,0,1617,804) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=-&- v=-&- DVTControllerContentView 0x7fe18f195220 f=(0,0,1617,804) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=--- v=--- NSView 0x7fe1898be540 f=(0,0,1617,804) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=-&- v=&-- DVTControllerContentView 0x7fe18b95fc80 f=(0,775,1617,29) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=--- v=--- DVTScopeBarView 0x7fe18beae060 f=(0,0,1617,29) b=(-) TIME drawRect: min/mean/max 0.07/0.10/0.14 ms
[ A ] h=-&- v=-&- DVTControllerContentView 0x7fe18cc1d210 f=(0,1,1617,28) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=--- v=--- NSView 0x7fe18be71b40 f=(0,0,1617,28) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ AF ] h=--& v=&-- DVTScopeBarButton 0x7fe18be1fa30 "All" f=(13,5,39,17) b=(-) TIME drawRect: min/mean/max 0.79/0.97/1.33 ms
[ AF ] h=--& v=&-- DVTScopeBarButton 0x7fe18c38ced0 "Recent" f=(54,5,60,17) b=(-) TIME drawRect: min/mean/max 0.48/0.73/1.05 ms
[ A P ] h=--& v=&-- NSBox 0x7fe186a953e0 "Box" f=(122,6,5,16) b=(-) TIME drawRect: min/mean/max 0.03/0.67/4.91 ms
[ AF ] h=--& v=&-- DVTScopeBarButton 0x7fe16242e500 "All Issues" f=(231,5,72,17) b=(-) TIME drawRect: min/mean/max 0.55/1.31/3.92 ms
[ AF ] h=--& v=&-- DVTScopeBarButton 0x7fe18b979480 "Errors Only" f=(305,5,87,17) b=(-) TIME drawRect: min/mean/max 0.44/0.79/1.98 ms
[ AF ] h=--& v=&-- DVTScopeBarButton 0x7fe17784e280 "All Messages" f=(135,5,94,17) b=(-) TIME drawRect: min/mean/max 0.59/1.35/4.01 ms
[ AF W #] h=--& v=&-- DVTSearchField 0x7fe18e39bcd0 f=(1437,3,175,22) b=(-) => <_NSViewBackingLayer: 0x7fe1628ee5b0> TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ O P ] h=-&- v=-&- NSBox 0x7fe162420d00 "Active Content" f=(0,0,1617,775) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ AF O W #] h=-&- v=-&- NSScrollView 0x7fe1613f0e50 f=(0,0,1617,775) b=(-) => <_NSViewBackingLayer: 0x7fe18f29fca0> TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ AF O w ] h=-&- v=-&- NSClipView 0x7fe18e17ca60 f=(0,0,1602,775) b=(0,17610,-,-) => <_NSClipViewBackingLayer: 0x7fe18f269d40> TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ AF O w ] h=-&- v=-&- XCBuildResultsOutlineView 0x7fe189ca7240 f=(0,0,1602,19192) b=(-) => <_NSViewBackingLayer: 0x7fe17e2e8360> TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ AF w ] h=--- v=--- NSScroller 0x7fe183f0dc10 f=(1602,0,15,775) b=(-) => <_NSViewBackingLayer: 0x7fe1705cfc00> TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ HA W #] h=-&- v=-&- _IDESwipeAnimationHostView 0x7fe1841043c0 f=(0,0,1617,833) b=(-) => <CALayer: 0x7fe184104ae0> TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=--- v=--- DVTLayoutView_ML 0x7fe183ff6f40 f=(0,862,1617,276) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=-&- v=-&- IDEDebugAreaBorderedView 0x7fe183ff4590 f=(0,0,1617,276) b=(-) TIME drawRect: min/mean/max 0.02/0.07/1.26 ms
[ ] h=--& v=&-- DVTReplacementView 0x7fe183ff56b0 f=(0,0,1617,275) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=-&- v=-&- DVTControllerContentView 0x7fe184208c50 f=(0,0,1617,275) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ AF P ] h=--- v=--- DVTSplitView 0x7fe184206ef0 f=(0,0,1617,275) b=(-) TIME drawRect: min/mean/max 0.01/0.49/27.10 ms
[ H ] h=--- v=--- DVTReplacementView 0x7fe184208660 f=(0,0,577,100) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ hA ] h=--& v=&-- DVTControllerContentView 0x7fe1841046e0 f=(0,0,577,100) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ hA ] h=--- v=--- DVTBorderedView 0x7fe18411b9a0 f=(0,0,577,100) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ hA ] h=-&- v=--& DVTScopeBarView 0x7fe18411a2f0 f=(0,0,577,28) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ hAF ] h=--& v=&-& NSPopUpButton 0x7fe184117800 "Auto" f=(0,5,47,18) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ hAF W #] h=&-- v=--& DVTSearchField 0x7fe184115590 f=(399,3,173,22) b=(-) => <_NSViewBackingLayer: 0x7fe1841202e0> TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ hAF ] h=--& v=--- DVTGradientImageButton 0x7fe184213370 f=(52,4,1,21) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ hAF ] h=--& v=--- DVTGradientImageButton 0x7fe1842153d0 f=(58,4,17,21) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ hAF ] h=--& v=--- DVTGradientImageButton 0x7fe1841a0f50 f=(79,4,17,21) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ hA ] h=-&- v=-&- NSView 0x7fe18411ad00 f=(0,28,577,72) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ hAF O ] h=-&- v=-&- DVTScrollView 0x7fe184115890 f=(0,0,577,72) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ hAF O P ] h=-&- v=-&- NSClipView 0x7fe184115200 f=(0,0,577,72) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ hAF O P ] h=--- v=--- IDEVariablesViewOutlineView 0x7fe1841149f0 f=(0,0,577,72) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ hA W #] h=--- v=--- DVTShadowView 0x7fe1842121b0 f=(0,71,577,1) b=(-) => <_NSViewBackingLayer: 0x7fe184212410> TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ HAF ] h=--- v=--- NSScroller 0x7fe184211350 f=(508,0,15,263) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ HAF ] h=--- v=--- NSScroller 0x7fe184211a00 f=(0,262,522,16) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ HAF ] h=&-& v=&-& NSProgressIndicator 0x7fe184211060 f=(272,19,32,32) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ ] h=--- v=--- DVTReplacementView 0x7fe184209910 f=(0,0,1617,275) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=-&- v=-&- DVTControllerContentView 0x7fe184223f40 f=(0,0,1617,275) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=--- v=--- NSView 0x7fe184224d50 f=(0,0,1617,275) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=-&- v=--& DVTScopeBarView 0x7fe1842239c0 f=(0,0,1617,28) b=(-) TIME drawRect: min/mean/max 0.03/0.05/0.24 ms
[ AF ] h=&-- v=&-& NSButton 0x7fe184125410 f=(1550,4,17,21) b=(-) TIME drawRect: min/mean/max 0.16/0.49/5.55 ms
[ AF ] h=--& v=--& NSPopUpButton 0x7fe184220f50 "All Output" f=(0,5,116,18) b=(-) TIME drawRect: min/mean/max 0.55/2.20/18.76 ms
[ AF ] h=&-- v=--- DVTGradientImageButton 0x7fe18420b180 f=(1572,4,1,21) b=(-) TIME drawRect: min/mean/max 0.04/0.10/0.39 ms
[ AF ] h=&-- v=--- DVTGradientImageButton 0x7fe184111320 f=(1577,4,17,21) b=(-) TIME drawRect: min/mean/max 0.17/0.59/10.72 ms
[ AF ] h=&-- v=--- DVTGradientImageButton 0x7fe18420a850 f=(1595,4,17,21) b=(-) TIME drawRect: min/mean/max 0.07/0.46/9.87 ms
[ AF O ] h=-&- v=-&- DVTScrollView 0x7fe184217d90 f=(0,28,1617,247) b=(-) TIME drawRect: min/mean/max 0.02/0.74/8.68 ms
[ AF O P ] h=-&- v=-&- NSClipView 0x7fe1842182f0 f=(0,0,1602,247) b=(0,1503,-,-) TIME drawRect: min/mean/max 0.07/0.69/5.07 ms
[ AF O ] h=-&- v=-&- IDEConsoleTextView 0x7fe184218a00 f=(0,0,1602,1750) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A W #] h=--- v=--- DVTShadowView 0x7fe18421b490 f=(0,246,1617,1) b=(-) => <_NSViewBackingLayer: 0x7fe18420fd00> TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ AF ] h=--- v=--- NSScroller 0x7fe1842196d0 f=(1602,0,15,247) b=(-) TIME drawRect: min/mean/max 0.21/0.63/2.91 ms
[ HAF ] h=--- v=--- NSScroller 0x7fe1842199e0 f=(-100,-100,284,15) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ HAF P ] h=-&- v=-&- DVTSplitView 0x7fe183fda240 f=(1920,0,0,1138) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ h ] h=-&- v=-&- DVTReplacementView 0x7fe183fd8830 f=(0,0,0,400) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ hA ] h=-&- v=-&- DVTControllerContentView 0x7fe184133150 f=(0,0,0,400) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ hA ] h=--- v=--- NSView 0x7fe18412b780 f=(0,0,260,400) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ hA ] h=-&- v=&-- DVTChooserView 0x7fe1841329a0 f=(0,371,260,29) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ hAF ] h=--- v=--- NSMatrix 0x7fe184132e90 "1" f=(100,1,61,28) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ hA ] h=-&- v=-&- DVTBorderedView 0x7fe184135320 f=(0,0,260,371) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ hA ] h=--- v=--- IDEUtilityPlaceholderView 0x7fe184129c70 f=(1,0,259,371) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ hAF ] h=--- v=--- DVTLozengeTextField 0x7fe18412a2c0 "No Selection" f=(75,168,108,34) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ h ] h=-&- v=-&- DVTReplacementView 0x7fe183fdd940 f=(0,400,0,738) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ hA ] h=-&- v=-&- DVTControllerContentView 0x7fe18413c2d0 f=(0,0,0,738) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ hA ] h=--- v=--- NSView 0x7fe18413bc50 f=(0,0,260,738) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ hA ] h=-&- v=&-- DVTChooserView 0x7fe18413a440 f=(0,708,260,30) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ hAF ] h=--- v=--- NSMatrix 0x7fe18413ae80 "1" f=(70,1,121,28) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ hA ] h=-&- v=-&- DVTBorderedView 0x7fe18413cd70 f=(0,0,260,708) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ hA ] h=--- v=--- IDEUtilityPlaceholderView 0x7fe1841342e0 f=(1,0,259,708) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ hAF ] h=--- v=--- DVTLozengeTextField 0x7fe184134570 "No Selection" f=(75,337,108,34) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
A=autoresizesSubviews, C=canDrawConcurrently, D=needsDisplay, F=flipped, G=gstate, H=hidden (h=by ancestor), L=needsLayout (l=child needsLayout), U=needsUpdateConstraints (u=child needsUpdateConstraints), O=opaque, P=preservesContentDuringLiveResize, S=scaled/rotated, W=wantsLayer (w=ancestor wantsLayer), #=has surface
(lldb) expr NSView *$sidebar = (NSView *)0x7fe183fe5d50
(lldb) po [$sidebar _subtreeDescription]
[ A ] h=-&- v=-&- DVTControllerContentView 0x7fe183fe5d50 f=(0,0,303,1138) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=--- v=--- DVTBorderedView 0x7fe183fe9a10 f=(0,0,303,1138) b=(-) TIME drawRect: min/mean/max 0.01/0.78/16.69 ms
[ A ] h=-&- v=-&- NSVisualEffectView 0x7fe183ff1a30 f=(0,0,302,1138) b=(-) TIME drawRect: min/mean/max 0.01/0.20/0.54 ms
[ ] h=-&- v=-&- DVTReplacementView 0x7fe183fe6390 f=(0,28,302,1081) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=-&- v=-&- DVTControllerContentView 0x7fe18f707cc0 f=(0,0,302,1081) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=--- v=--- NSView 0x7fe18f71b200 f=(0,0,302,1081) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=-&- v=&-- DVTScopeBarView 0x7fe1618d6180 f=(0,1052,302,29) b=(-) TIME drawRect: min/mean/max 0.03/0.04/0.05 ms
[ AF ] h=--& v=&-- DVTScopeBarButton 0x7fe1613d4ab0 "By Type" f=(69,6,59,17) b=(-) TIME drawRect: min/mean/max 1.34/1.41/1.48 ms
[ AF ] h=--& v=&-- DVTScopeBarButton 0x7fe18a330d00 "By File" f=(12,6,53,17) b=(-) TIME drawRect: min/mean/max 0.78/1.11/1.44 ms
[ AF ] h=-&- v=-&- DVTScrollView 0x7fe17ea99250 f=(0,0,302,1052) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=--- v=--- NSVisualEffectView 0x7fe18c3e8d00 f=(0,0,302,1052) b=(-) TIME drawRect: min/mean/max 0.11/0.29/0.54 ms
[ AF ] h=-&- v=-&- NSClipView 0x7fe188ac1570 f=(0,0,302,1052) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ AF P ] h=-&- v=-&- IDENavigatorOutlineView 0x7fe18fc3e130 f=(0,0,302,1052) b=(-) TIME drawRect: min/mean/max 18.32/24.28/28.53 ms
[ HAF ] h=--- v=--- NSScroller 0x7fe186a5ce00 f=(162,1,15,230) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A W #] h=--- v=--- DVTShadowView 0x7fe18aa7ead0 f=(0,1051,302,1) b=(-) => <_NSViewBackingLayer: 0x7fe17f24dba0> TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ HAF ] h=--- v=--- NSScroller 0x7fe18e1171a0 f=(1,231,161,15) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=-&- v=&-- DVTChooserView 0x7fe183fe7310 f=(0,1109,302,29) b=(-) TIME drawRect: min/mean/max 0.02/0.06/0.93 ms
[ AF ] h=--- v=--- NSMatrix 0x7fe183fe84d0 "1" f=(31,1,241,28) b=(-) TIME drawRect: min/mean/max 1.23/12.67/284.07 ms
[ A ] h=-&- v=--& IDENavigatorFilterControlBar 0x7fe183ff1df0 f=(0,0,302,28) b=(-) TIME drawRect: min/mean/max 0.00/0.02/0.50 ms
[ AF ] h=-&- v=--- DVTSearchField 0x7fe183ff2aa0 f=(46,3,251,22) b=(-) TIME drawRect: min/mean/max 0.20/2.55/50.97 ms
[ AF ] h=--- v=--- DVTGradientImageButton 0x7fe18aad92a0 f=(6,4,17,20) b=(-) TIME drawRect: min/mean/max 0.31/1.02/1.73 ms
[ AF ] h=--- v=--- DVTGradientImageButton 0x7fe18aad9350 f=(25,4,17,20) b=(-) TIME drawRect: min/mean/max 0.28/1.20/2.12 ms
A=autoresizesSubviews, C=canDrawConcurrently, D=needsDisplay, F=flipped, G=gstate, H=hidden (h=by ancestor), L=needsLayout (l=child needsLayout), U=needsUpdateConstraints (u=child needsUpdateConstraints), O=opaque, P=preservesContentDuringLiveResize, S=scaled/rotated, W=wantsLayer (w=ancestor wantsLayer), #=has surface
(lldb) expr NSView *$issues = (NSView *)0x7fe17ea99250
(lldb) po [$issues _subtreeDescription]
[ AF ] h=-&- v=-&- DVTScrollView 0x7fe17ea99250 f=(0,0,302,1052) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A ] h=--- v=--- NSVisualEffectView 0x7fe18c3e8d00 f=(0,0,302,1052) b=(-) TIME drawRect: min/mean/max 0.11/0.29/0.54 ms
[ AF ] h=-&- v=-&- NSClipView 0x7fe188ac1570 f=(0,0,302,1052) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ AF P ] h=-&- v=-&- IDENavigatorOutlineView 0x7fe18fc3e130 f=(0,0,302,1052) b=(-) TIME drawRect: min/mean/max 18.32/24.28/28.53 ms
[ HAF ] h=--- v=--- NSScroller 0x7fe186a5ce00 f=(162,1,15,230) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ A W #] h=--- v=--- DVTShadowView 0x7fe18aa7ead0 f=(0,1051,302,1) b=(-) => <_NSViewBackingLayer: 0x7fe17f24dba0> TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
[ HAF ] h=--- v=--- NSScroller 0x7fe18e1171a0 f=(1,231,161,15) b=(-) TIME drawRect: min/mean/max 0.00/0.00/0.00 ms
A=autoresizesSubviews, C=canDrawConcurrently, D=needsDisplay, F=flipped, G=gstate, H=hidden (h=by ancestor), L=needsLayout (l=child needsLayout), U=needsUpdateConstraints (u=child needsUpdateConstraints), O=opaque, P=preservesContentDuringLiveResize, S=scaled/rotated, W=wantsLayer (w=ancestor wantsLayer), #=has surface
(lldb) expr IDENavigatorOutlineView *$outline = (IDENavigatorOutlineView *)0x7fe18fc3e130
(lldb) po $outline
<IDENavigatorOutlineView: 0x7fe18fc3e130>
(lldb) po [[$outline class] superclass]
DVTOutlineView
(lldb) po [[[$outline class] superclass] superclass]
NSOutlineView
(lldb) po [$outline itemAtRow:0]
<IDEIssueGroupNavigableItem 0x7fe18efb61d0: (supports Any IDEIssueGroup, represents: <IDEIssueGroup: 0x7fe18c346090>)>
(lldb) po [$outline itemAtRow:1]
<IDEIssueNavigableItem 0x7fe162fd1b70: (supports Any IDEIssue, represents: <IDEIssue 0x7fe18f4f5ee0: provider="IDEBuildIssueProvider", typeIdentifier="Static Analyzer Error", severity=error, full message="Command /Applications/Xcode-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1", locations=(null), representedMessage=<IDEActivityLogMessage:0x7fe18c5e3630:title='Command /Applications/Xcode-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1'>>)>
(lldb) p (char *)class_getImageName([IDEIssueNavigableItem class])
(char *) $20 = 0x00007fff6d899288 "/Applications/Xcode-Beta.app/Contents/Frameworks/IDEKit.framework/Versions/A/IDEKit"
(lldb) p (char *)class_getImageName([IDEIssue class])
(char *) $21 = 0x00007fff6d898f80 "/Applications/Xcode-Beta.app/Contents/Frameworks/IDEFoundation.framework/Versions/A/IDEFoundation"
// ~/C/A/eigen [master] » class-dump -C '^IDEIssue$' /Applications/Xcode-Beta.app/Contents/Frameworks/IDEFoundation.framework/Versions/A/IDEFoundation
/*
* File: /Applications/Xcode-Beta.app/Contents/Frameworks/IDEFoundation.framework/Versions/A/IDEFoundation
* UUID: A581DBCE-1D04-3AC1-96AB-98B5A0F943B2
* Arch: x86_64
* Current version: 6770.0.0, Compatibility version: 1.0.0
* Source version: 6770.0.0.0.0
* Minimum Mac OS X version: 10.9.0
* SDK version: 10.10.0
*
* Objective-C Garbage Collection: Unsupported
* Run path: @loader_path/../../../../Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib
* = /Applications/Xcode-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib
* Run path: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib
* = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib
*/
@interface IDEIssue : NSObject <IDEDiagnosticItemDelegate>
{
IDEIssueProvider *_issueProvider;
NSArray *_documentLocations;
NSObject *_issueTypeIdentifier;
NSString *_fullMessage;
unsigned long long _severity;
unsigned long long _sequenceNumber;
NSArray *_subissues;
IDEActivityLogMessage *_representedMessage;
IDEActivityLogMessage *_originatingMessage;
IDEActivityLogRecord *_originatingLogRecord;
IDEIssue *_parentIssue;
int _issueType;
NSNumber *_lineNumber;
BOOL _frozen;
BOOL _valid;
BOOL _coalesced;
BOOL _wasFetchedFromCache;
BOOL _vended;
NSArray *_filteredSubissues;
DVTDocumentLocation *_primaryDocumentLocation;
}
@property(readonly) NSNumber *_lineNumber; // @synthesize _lineNumber;
@property(getter=_isVended) BOOL _vended; // @synthesize _vended;
@property(getter=_isCoalesced) BOOL _coalesced; // @synthesize _coalesced;
@property BOOL valid; // @synthesize valid=_valid;
@property(readonly) DVTDocumentLocation *primaryDocumentLocation; // @synthesize primaryDocumentLocation=_primaryDocumentLocation;
@property(readonly) int issueType; // @synthesize issueType=_issueType;
@property BOOL wasFetchedFromCache; // @synthesize wasFetchedFromCache=_wasFetchedFromCache;
@property(readonly) __weak IDEIssue *parentIssue; // @synthesize parentIssue=_parentIssue;
@property(readonly) IDEActivityLogRecord *originatingLogRecord; // @synthesize originatingLogRecord=_originatingLogRecord;
@property(readonly) IDEActivityLogMessage *originatingMessage; // @synthesize originatingMessage=_originatingMessage;
@property(retain, nonatomic) IDEActivityLogMessage *representedMessage; // @synthesize representedMessage=_representedMessage;
@property(copy, nonatomic) NSArray *subissues; // @synthesize subissues=_subissues;
@property(readonly) unsigned long long sequenceNumber; // @synthesize sequenceNumber=_sequenceNumber;
@property(readonly) unsigned long long severity; // @synthesize severity=_severity;
@property(readonly) NSString *fullMessage; // @synthesize fullMessage=_fullMessage;
@property(retain) NSObject *issueTypeIdentifier; // @synthesize issueTypeIdentifier=_issueTypeIdentifier;
@property(readonly) NSArray *documentLocations; // @synthesize documentLocations=_documentLocations;
@property(retain, nonatomic) IDEIssueProvider *issueProvider; // @synthesize issueProvider=_issueProvider;
- (void).cxx_destruct;
@property(readonly, nonatomic) IDEIssue *representativeSubIssue;
- (BOOL)isEqualDisregardingLocationTimestamps:(id)arg1;
- (id)_firstCommonLocationFromArray:(id)arg1 andArray:(id)arg2;
- (void)diagnosticItemWasFixed:(id)arg1;
- (long long)compareByLineNumber:(id)arg1;
- (long long)compare:(id)arg1;
@property(readonly) BOOL isLiveIssue;
@property(retain) IDEIssue *_parentIssue;
@property(readonly) NSString *formattedStringRepresentation;
@property(readonly, copy) NSString *description;
- (id)_severityString;
- (void)_freeze;
@property(readonly) NSArray *fixableDiagnosticItems;
- (void)_setRepresentedMessage:(id)arg1 force:(BOOL)arg2;
@property(readonly) NSArray *filteredSubissues; // @synthesize filteredSubissues=_filteredSubissues;
- (void)_setSubissues:(id)arg1 force:(BOOL)arg2;
- (void)_setSequenceNumber:(unsigned long long)arg1;
- (id)initWithIssueProvider:(IDEBuildIssueProvider *)arg1 message:(id)arg2 wasFetchedFromCache:(BOOL)arg3;
- (id)initWithIssueProvider:(IDEBuildIssueProvider *)arg1 message:(IDEActivityLogMessage *)arg2 originatingLogRecord:(IDEOnDiskActivityLogRecord *)arg3 wasFetchedFromCache:(BOOL)arg4;
// `issueTypeIdentifier` is `@"Static Analyzer Error"`
- (id)initWithIssueProvider:(IDEBuildIssueProvider *)arg1 documentLocations:(NSArray *)arg2 issueTypeIdentifier:(NSString *)arg3 fullMessage:(NSString *)arg4 severity:(unsigned long long)arg5 representedMessage:(id)arg6;
- (id)init;
// Remaining properties
@property(readonly, copy) NSString *debugDescription;
@property(readonly) unsigned long long hash;
@property(readonly) Class superclass;
@end
// ---------------------------------------------------
// ~/C/A/eigen [master] » class-dump -C '^IDEActivityLogMessage$' /Applications/Xcode-Beta.app/Contents/Frameworks/IDEFoundation.framework/Versions/A/IDEFoundation
/*
* File: /Applications/Xcode-Beta.app/Contents/Frameworks/IDEFoundation.framework/Versions/A/IDEFoundation
* UUID: A581DBCE-1D04-3AC1-96AB-98B5A0F943B2
* Arch: x86_64
* Current version: 6770.0.0, Compatibility version: 1.0.0
* Source version: 6770.0.0.0.0
* Minimum Mac OS X version: 10.9.0
* SDK version: 10.10.0
*
* Objective-C Garbage Collection: Unsupported
* Run path: @loader_path/../../../../Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib
* = /Applications/Xcode-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib
* Run path: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib
* = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib
*/
@interface IDEActivityLogMessage : NSObject <NSCopying>
{
NSString *_title;
NSString *_shortTitle;
double _timeEmitted;
IDEActivityLogSection *_supersection;
struct _NSRange _rangeInSectionText;
IDEActivityLogMessage *_supermessage;
NSMutableArray *_submessages;
unsigned long long _severity;
IDETypeIdentifier *_type;
DVTDocumentLocation *_location;
NSString *_categoryIdent;
NSArray *_secondaryLocations;
NSString *_additionalDescription;
int _lock;
}
+ (id)messageWithType:(id)arg1 severity:(unsigned long long)arg2 title:(id)arg3 filePath:(id)arg4 lineNumber:(unsigned long long)arg5;
+ (id)messageWithType:(id)arg1 severity:(unsigned long long)arg2 title:(id)arg3 location:(id)arg4;
@property(readonly) IDETypeIdentifier *type; // @synthesize type=_type;
@property(readonly) unsigned long long severity; // @synthesize severity=_severity;
- (void).cxx_destruct;
- (void)dvt_writeToSerializer:(id)arg1;
- (id)dvt_initFromDeserializer:(id)arg1;
@property(readonly) unsigned long long totalNumberOfAnalyzerResults;
@property(readonly) unsigned long long totalNumberOfAnalyzerWarnings;
@property(readonly) unsigned long long totalNumberOfWarnings;
@property(readonly) unsigned long long totalNumberOfErrors;
@property(readonly) unsigned long long totalNumberOfTestFailures;
- (void)setSecondaryLocations:(id)arg1;
@property(readonly) NSArray *secondaryLocations;
@property(readonly) NSString *additionalDescription;
- (void)setCategoryIdentifier:(id)arg1;
@property(readonly) NSString *categoryIdentifier;
@property(readonly) DVTDocumentLocation *location;
- (void)setShortTitle:(id)arg1;
@property(readonly) NSString *shortTitle;
- (void)logRecorder:(id)arg1 addSectionTextRange:(struct _NSRange)arg2;
- (void)logRecorder:(id)arg1 setSectionTextRange:(struct _NSRange)arg2;
@property(readonly) NSString *logMessageString;
- (void)logRecorder:(id)arg1 addSubmessage:(id)arg2;
- (void)addSubmessage:(id)arg1;
@property(readonly) NSArray *submessages;
- (void)_setSupermessage:(id)arg1;
@property(readonly) __weak IDEActivityLogMessage *supermessage;
- (void)setSectionTextRange:(struct _NSRange)arg1;
@property(readonly) struct _NSRange rangeInSectionText;
- (void)_setSupersection:(id)arg1;
@property(readonly) __weak IDEActivityLogSection *supersection;
- (id)description;
@property(readonly) double timeEmitted;
@property(readonly) NSString *title;
- (BOOL)_hasEqualTitleLocationsSubmessages:(id)arg1 disregardingTimestamp:(BOOL)arg2;
- (id)copyWithZone:(struct _NSZone *)arg1;
- (id)initWithType:(id)arg1 severity:(unsigned long long)arg2 title:(id)arg3 filePath:(id)arg4;
- (id)initWithType:(id)arg1 severity:(unsigned long long)arg2 title:(id)arg3 filePath:(id)arg4 lineNumber:(unsigned long long)arg5;
- (id)initWithType:(id)arg1 severity:(unsigned long long)arg2 title:(id)arg3 location:(id)arg4;
- (id)initWithTitle:(id)arg1;
- (id)init;
- (id)initWithType:(id)arg1 severity:(unsigned long long)arg2 title:(id)arg3;
@end
// ---------------------------------------------------
// ~/C/A/eigen [master] » class-dump -C '^IDEOnDiskActivityLogRecord$' /Applications/Xcode-Beta.app/Contents/Frameworks/IDEFoundation.framework/Versions/A/IDEFoundation
/*
* File: /Applications/Xcode-Beta.app/Contents/Frameworks/IDEFoundation.framework/Versions/A/IDEFoundation
* UUID: A581DBCE-1D04-3AC1-96AB-98B5A0F943B2
* Arch: x86_64
* Current version: 6770.0.0, Compatibility version: 1.0.0
* Source version: 6770.0.0.0.0
* Minimum Mac OS X version: 10.9.0
* SDK version: 10.10.0
*
* Objective-C Garbage Collection: Unsupported
* Run path: @loader_path/../../../../Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib
* = /Applications/Xcode-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib
* Run path: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib
* = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib
*/
@interface IDEOnDiskActivityLogRecord : IDEActivityLogRecord <DVTInvalidation>
{
IDEOnDiskLogStore_Impl *_logStore;
IDEActivityLogSection *_strongFullLog;
IDEActivityLogSection *_weakFullLog;
IDEActivityLogSection *_recorderLog;
DVTObservingToken *_recorderLogObservingToken;
NSString *_uniqueIdentifier;
IDETypeIdentifier *_domainType;
NSString *_title;
double _timeStartedRecording;
double _timeStoppedRecording;
DVTFileDataType *_documentType;
NSString *_signature;
NSString *_highLevelStatus;
}
+ (id)keyPathsForValuesAffectingIsRecording;
+ (void)initialize;
@property(retain, nonatomic) IDEActivityLogSection *recorderLog; // @synthesize recorderLog=_recorderLog;
@property(nonatomic) double timeStoppedRecording; // @synthesize timeStoppedRecording=_timeStoppedRecording;
- (void).cxx_destruct;
@property(readonly, copy) NSString *description;
- (id)highLevelStatus;
- (id)signature;
- (id)documentType;
- (double)timeStartedRecording;
- (id)title;
- (id)domainType;
- (id)uniqueIdentifier;
- (BOOL)isRecording;
- (void)_setRemovedState;
- (void)_makeWeak;
- (id)fullLogIfInMemory;
- (id)fullLogWithError:(id *)arg1;
- (void)removeSelfWithCompletionBlock:(id)arg1;
- (BOOL)isRemoved;
- (void)primitiveInvalidate;
- (id)initWithUUID:(id)arg1 store:(id)arg2 cacheEntry:(id)arg3 updatedCache:(char *)arg4 error:(id *)arg5;
- (id)initWithLog:(id)arg1 entityIdentifier:(id)arg2 store:(id)arg3;
- (id)testableSummariesPlistFilePath;
// Remaining properties
@property(retain) DVTStackBacktrace *creationBacktrace;
@property(readonly, copy) NSString *debugDescription;
@property(readonly) unsigned long long hash;
@property(readonly) DVTStackBacktrace *invalidationBacktrace;
@property(readonly) Class superclass;
@property(readonly, nonatomic, getter=isValid) BOOL valid;
@end
// ---------------------------------------------------
// ~/C/A/eigen [master] » class-dump -C '^IDEBuildIssueProvider$' /Applications/Xcode-Beta.app/Contents/Frameworks/IDEFoundation.framework/Versions/A/IDEFoundation
/*
* File: /Applications/Xcode-Beta.app/Contents/Frameworks/IDEFoundation.framework/Versions/A/IDEFoundation
* UUID: A581DBCE-1D04-3AC1-96AB-98B5A0F943B2
* Arch: x86_64
* Current version: 6770.0.0, Compatibility version: 1.0.0
* Source version: 6770.0.0.0.0
* Minimum Mac OS X version: 10.9.0
* SDK version: 10.10.0
*
* Objective-C Garbage Collection: Unsupported
* Run path: @loader_path/../../../../Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib
* = /Applications/Xcode-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib
* Run path: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib
* = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib
*/
@interface IDEBuildIssueProvider : IDEIssueProvider
{
DVTMapTable *_blueprintToLatestLogSectionObserverMap;
DVTMapTable *_buildLogToLogNotificationObserverMap;
DVTMapTable *_blueprintToLatestBuildLogSectionMap;
DVTMapTable *_blueprintToLogRecordsMap;
DVTMapTable *_blueprintToIssuesForFileMap;
DVTMapTable *_blueprintToAuxiliaryFilesForFileMap;
DVTMapTable *_haveRemovedIssuesForFileInBlueprintMap;
DVTObservingToken *_activeBuildOperationStateObserverToken;
IDEBuildOperation *_activeBuildOperation;
NSMutableSet *_pendingLogSections;
IDELogStore *_logStore;
BOOL _changeNotificationPending;
NSMutableArray *_pendingChanges;
}
+ (int)providerType;
+ (id)_backgroundScanningQueue;
+ (id)_backgroundLoadingQueue;
- (void).cxx_destruct;
- (id)ideModelObjectTypeIdentifier;
- (id)displayNameForIssueTypeIdentifier:(id)arg1;
- (void)_buildLogDidUpdateItems:(id)arg1 blueprint:(id)arg2;
- (void)_scanIssuesInLog:(id)arg1 forBlueprint:(id)arg2 intoArray:(id)arg3 usingSeenMessages:(id)arg4 withFileToIssuesMap:(id)arg5 fileToAuxFilesMap:(id)arg6;
- (void)_addIssueForMessage:(id)arg1 blueprint:(id)arg2 intoArray:(id)arg3 usingSeenMessages:(id)arg4 withFileToIssuesMap:(id)arg5 fileToAuxFilesMap:(id)arg6 wasFetchedFromCache:(BOOL)arg7;
- (void)startProviderSession;
- (void)_postBuildIssueChange:(id)arg1;
- (void)_asyncPostBuildIssueChanges:(id)arg1;
- (void)_observeLogSection:(id)arg1 forBlueprint:(id)arg2 loadedFromLogStore:(BOOL)arg3;
- (void)_currentBuildOperationDidChange;
- (void)_blueprintsDidChange;
- (void)_reactToCleanBuildFolder;
- (void)_forgetBlueprint:(id)arg1;
- (void)_latestBuildLogDidChange;
- (void)_workspaceFinishedLoading;
- (void)primitiveInvalidate;
- (id)initWithIssueManager:(id)arg1 extension:(id)arg2;
- (BOOL)allowsExistingIssuesToBeCoalesced;
- (void)removeBlueprintFromIssuesCache:(id)arg1;
- (BOOL)shouldRemoveIssuesFromCacheForFile:(id)arg1 inBlueprint:(id)arg2;
- (id)removeIssuesFromCacheForFile:(id)arg1 inBlueprint:(id)arg2;
- (void)addAuxiliaryFiles:(id)arg1 toCacheForFile:(id)arg2 inBlueprint:(id)arg3;
- (void)addIssues:(id)arg1 toCacheForFile:(id)arg2 inBlueprint:(id)arg3;
- (id)latestLogRecordForBlueprint:(id)arg1;
- (void)removeAllLogRecordsForBlueprint:(id)arg1;
- (void)addLogRecord:(id)arg1 forBlueprint:(id)arg2;
- (id)logRecordsForBlueprint:(id)arg1;
@end
// ---------------------------------------------------
// ~/C/A/eigen [master] » class-dump -C '^DVTStackBacktrace$' /Applications/Xcode-Beta.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/DVTFoundation
/*
* File: /Applications/Xcode-Beta.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/DVTFoundation
* UUID: A623B0AB-CCF0-3797-82F2-E91C2BEE933E
* Arch: x86_64
* Current version: 1.0.0, Compatibility version: 1.0.0
* Source version: 6760.0.0.0.0
* Minimum Mac OS X version: 10.9.0
* SDK version: 10.10.0
*
* Objective-C Garbage Collection: Unsupported
* Run path: @loader_path/../../../
* = /Applications/Xcode-Beta.app/Contents/SharedFrameworks
*/
@interface DVTStackBacktrace : NSObject
{
unsigned long long *_returnAddresses;
unsigned long long _returnAddressesCount;
NSMutableArray *_symbolicatedArrayRepresentation;
}
+ (unsigned long long *)_callStackReturnAddressesExcludingTopFrames:(unsigned long long)arg1 returningCount:(unsigned long long *)arg2;
+ (unsigned long long *)_callStackReturnAddressesFromNumbers:(id)arg1 excludingTopFrames:(unsigned long long)arg2 returningCount:(unsigned long long *)arg3;
+ (id)currentStackBacktrace;
+ (id)stackBacktraceWithCallStackReturnAddresses:(id)arg1;
- (void).cxx_destruct;
- (id)callStackReturnAddresses;
- (id)_frameForAddress:(unsigned long long)arg1 symbolicatorPtr:(struct _CSTypeRef *)arg2 symbolPtr:(struct _CSTypeRef *)arg3;
- (id)symbolicatedStackBacktraceFrames;
- (id)stringRepresentation;
- (void)dealloc;
- (id)initWithCallStackReturnAddresses:(unsigned long long *)arg1 count:(unsigned long long)arg2;
- (id)init;
@end
(lldb) b -[IDEIssue initWithIssueProvider:message:originatingLogRecord:wasFetchedFromCache:]
Breakpoint 6: where = IDEFoundation`-[IDEIssue initWithIssueProvider:message:originatingLogRecord:wasFetchedFromCache:], address = 0x000000010624eeca
Process 34726 stopped
* thread #100: tid = 0xc0b22, 0x000000010624eeca IDEFoundation`-[IDEIssue initWithIssueProvider:message:originatingLogRecord:wasFetchedFromCache:], queue = 'Build Issue Provider background issue scanning queue :: NSOperation 0x7fe18a005640 (QOS: USER_INITIATED)', stop reason = breakpoint 2.1
frame #0: 0x000000010624eeca IDEFoundation`-[IDEIssue initWithIssueProvider:message:originatingLogRecord:wasFetchedFromCache:]
IDEFoundation`-[IDEIssue initWithIssueProvider:message:originatingLogRecord:wasFetchedFromCache:]:
-> 0x10624eeca: pushq %rbp
0x10624eecb: movq %rsp, %rbp
0x10624eece: pushq %r15
0x10624eed0: pushq %r14
(lldb) bt
* thread #100: tid = 0xc0b22, 0x000000010624eeca IDEFoundation`-[IDEIssue initWithIssueProvider:message:originatingLogRecord:wasFetchedFromCache:], queue = 'Build Issue Provider background issue scanning queue :: NSOperation 0x7fe18a005640 (QOS: USER_INITIATED)', stop reason = breakpoint 2.1
* frame #0: 0x000000010624eeca IDEFoundation`-[IDEIssue initWithIssueProvider:message:originatingLogRecord:wasFetchedFromCache:]
frame #1: 0x00000001062b2d5e IDEFoundation`-[IDEBuildIssueProvider _addIssueForMessage:blueprint:intoArray:usingSeenMessages:withFileToIssuesMap:fileToAuxFilesMap:wasFetchedFromCache:] + 399
frame #2: 0x00000001062b37f0 IDEFoundation`__59-[IDEBuildIssueProvider _buildLogDidUpdateItems:blueprint:]_block_invoke + 720
frame #3: 0x00000001062b1f1a IDEFoundation`__53-[IDEBuildIssueProvider _asyncPostBuildIssueChanges:]_block_invoke + 65
frame #4: 0x00007fff905322e8 Foundation`__NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 7
frame #5: 0x00007fff9041e905 Foundation`-[NSBlockOperation main] + 97
frame #6: 0x00007fff903fd59c Foundation`-[__NSOperationInternal _start:] + 653
frame #7: 0x00007fff903fd1a3 Foundation`__NSOQSchedule_f + 184
frame #8: 0x00007fff8cab5c13 libdispatch.dylib`_dispatch_client_callout + 8
frame #9: 0x00007fff8cab9365 libdispatch.dylib`_dispatch_queue_drain + 1100
frame #10: 0x00007fff8cabaecc libdispatch.dylib`_dispatch_queue_invoke + 202
frame #11: 0x00007fff8cab86b7 libdispatch.dylib`_dispatch_root_queue_drain + 463
frame #12: 0x00007fff8cac6fe4 libdispatch.dylib`_dispatch_worker_thread3 + 91
frame #13: 0x00007fff925296cb libsystem_pthread.dylib`_pthread_wqthread + 729
frame #14: 0x00007fff925274a1 libsystem_pthread.dylib`start_wqthread + 13
(lldb) po $r8
<IDEOnDiskActivityLogRecord:0x7fe18b951400:Build target Artsy>
(lldb) po [$r8 creationBacktrace]
<DVTStackBacktrace: 0x7fe188994080>
(lldb) po [$r8 domainType]
Xcode.IDEActivityLogDomainType.target.product-type.application
(lldb) po [[$r8 creationBacktrace] stringRepresentation]
0 0x000000010643f1fa -[IDEOnDiskActivityLogRecord initWithLog:entityIdentifier:store:] (in IDEFoundation)
1 0x0000000106440c44 -[IDEOnDiskLogStore_Impl addLog:entityIdentifier:completionBlock:] (in IDEFoundation)
2 0x00000001062b0d70 -[IDEBuildIssueProvider _observeLogSection:forBlueprint:loadedFromLogStore:] (in IDEFoundation)
3 0x00000001062afb01 __49-[IDEBuildIssueProvider _latestBuildLogDidChange]_block_invoke (in IDEFoundation)
4 0x00000001062a9caa IDEActivityLogSectionRecorder_notifyObservers (in IDEFoundation)
5 0x00007fff8caba323 _dispatch_call_block_and_release (in libdispatch.dylib)
6 0x00007fff8cab5c13 _dispatch_client_callout (in libdispatch.dylib)
7 0x00007fff8cac2578 _dispatch_after_timer_callback (in libdispatch.dylib)
8 0x00007fff8cab5c13 _dispatch_client_callout (in libdispatch.dylib)
9 0x00007fff8cac087e _dispatch_source_latch_and_call (in libdispatch.dylib)
10 0x00007fff8cab962b _dispatch_source_invoke (in libdispatch.dylib)
11 0x00007fff8cac1b02 _dispatch_main_queue_callback_4CF (in libdispatch.dylib)
12 0x00007fff8566ac59 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ (in CoreFoundation)
13 0x00007fff856272ef __CFRunLoopRun (in CoreFoundation)
14 0x00007fff85626838 CFRunLoopRunSpecific (in CoreFoundation)
15 0x00007fff841af43f RunCurrentEventLoopInMode (in HIToolbox)
16 0x00007fff841af1ba ReceiveNextEventCommon (in HIToolbox)
17 0x00007fff841aeffb _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)
18 0x00007fff87b5f6d1 _DPSNextEvent (in AppKit)
19 0x00007fff87b5ee80 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit)
20 0x0000000105e34d3d -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in DVTKit)
21 0x00007fff87b52e23 -[NSApplication run] (in AppKit)
22 0x00007fff87b3e2d4 NSApplicationMain (in AppKit)
23 0x00007fff8fe635c9 start (in libdyld.dylib)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment