Code per action
The code a step ran, the line that drew a spot, and the screens that run some code.
3 tasks, 3 questions answered.
Each step keeps the code it ran, at the commit that was captured.
- Select a screen on the map.
- Choose Show Code on its title line, or press ↩.
- Read the action at the top, then the code under it. Lines that ran fully and partly have different backgrounds.
- Open Details for the run's conditions, and the outline for the file's symbols.
Wrong turn? The inspector stayed closed? Selecting a screen leaves a closed inspector closed; Show Code opens it.
code, inspector, show code, which code ran, handler, coverage, lines that ran, source, open code
The shortest way from a pixel to its source.
- Hold ⌥ and click a spot on a screen.
- The code pane opens on the line that drew it.
Wrong turn? Not the element you meant? ⌘-click the spot to select the element there first.
option click, alt click, which line, element, component, where is this drawn, source of a button
Before changing a function, see every screen it touches.
- Right-click a symbol or a file in the code pane, or select lines in the editor.
- Choose Screens That Ran It. The map narrows to the journeys whose steps ran it, and the other screens are dimmed.
- Or type the search in the sidebar's filter, such as
ran:path/File.ktorran:#Name.
Wrong turn? Click the filter to edit the search, or clear it to see the whole map.
screens that ran it, impact, where is this used, which screens, ran:, find usages, affected screens
How it works
What does the inspector show for a step?
The action, then the code, both as the capture recorded them.
- The action that led to the chosen screen, the typed action the app dispatched, and the navigation.
- The run's conditions, such as the seed, the locale and a frozen clock.
- The code the step ran. Accessors stay hidden until you ask.
inspector, action, dispatch, navigation, seed, locale, clock, conditions
Whose code shows when a step called a server?
The server's own, when another core captured it.
- The server's code shows under its own heading, read from that repository at the commit it ran.
- The button under that heading, named for the server as in Choose core's Folder…, tells PitaFix where that repository is on this Mac.
server, backend, API, endpoint, other repository, second repo, core's folder
Which screens count as having run some code?
Only screens a capture saw run it.
- The search can name a file, lines of it or a symbol:
ran:path/File.kt:10-20,ran:path/File.kt#Name. - Routes no capture reached aren't counted; they are under Not reached on the Screens tab.
- Edit › Find Screens That Ran… starts a search from the menu.
ran, search syntax, lines, symbol, not reached, counted

