File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed
packages/TraceDebuggerJobs.package/TDBScreenshotBuilder.class Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ screenshots
2+ createExampleShutDown
3+ " Expensive!"
4+
5+ self recorder writeTo: ' screenshots/exampleShutDown.png' building: [:helper |
6+ | window debugger tree splitter |
7+ helper worldColor: Color transparent.
8+ [TraceDebugger exampleShutDown] valueSuppressingMessages: #('*shutDown/startUp*') .
9+ window := helper foregroundWindow.
10+ window extent: 564 @ 1538 .
11+ debugger := window model.
12+
13+ tree := helper morphByExternalName: #contextTree in: window.
14+ tree selectedMorph children do: #expand .
15+ tree adjustSubmorphPositions.
16+
17+ debugger contextFilter
18+ excludePackage: ' Collections' ;
19+ excludedSelectors: #(at:ifAbsent: scaledIdentityHash send:toClassesNamedIn:with:) .
20+
21+ splitter := window allMorphs detect: [:m |
22+ (m isKindOf: ProportionalSplitterMorph ) and : [m splitsTopAndBottom] and : [m splitterAbove isNil]].
23+ splitter splitterBelow repositionBy: 0 @ 150 .
24+ [window fullBounds. tree vIsScrollbarNeeded] whileTrue: [splitter repositionBy: 0 @ 1 ]]
Original file line number Diff line number Diff line change 55 "screenshotSelectors" : " ct 3/18/2022 21:29" },
66 "instance" : {
77 "createContextToolTip" : " ct 3/18/2022 18:34" ,
8+ "createExampleShutDown" : " ct 3/18/2022 23:21" ,
89 "createFindContext" : " ct 3/18/2022 22:17" ,
910 "createInspectorScreenshots" : " ct 3/18/2022 17:57" ,
1011 "createScreenshot" : " ct 3/18/2022 14:18" ,
You can’t perform that action at this time.
0 commit comments