Expand description
Devtools, as a plugin (DevtoolsPlugin, opt-in): the debug
bridge’s collectors shown in the application itself, in a panel of
the workbench (egui_pop.devtools, bottom), behind a setting
(developer.devtools, off by default) so end users never meet it; an
application shown to developers turns it on by default
(DevtoolsPlugin::on_by_default).
Shift+F12 (View > Devtools) opens it when the setting is on. Not
F12: browsers open their own developer tools with it before a web
build sees it, as they take Ctrl+Shift+C, I, J, K (Cmd+Option on a
Mac) and Shift+F5, F7, F9.
Tabs: the key resolutions (each binding considered and its verdict), the journal’s last events, the steps and their hooks, the focus chain and the overlays, the scale of each window, and every collector as JSON with its actions (an action that mutates says so).
The inspect mode (inspect, devtools.inspect, Ctrl+Shift+F12):
click an element to see what egui-pop knows of it, and copy it.
Steps (ADR 0011): devtools.call ({ "collector", "action", "args" }): a collector action run from the panel (call); a
plugin may veto it (an action too dangerous to offer in the panel).
The panel is the user’s: its default calls the action as the user
(AppHandle::debug_call_as), through the debug.call step every
call of the bridge goes through, so a veto there (a kiosk build)
covers the panel and agents alike.
Modules§
- inspect
- Devtools’ inspect mode: click an element (or reach it with Tab and the arrows, then Enter) and a dialog says what egui and egui-pop know of it, with a Copy button, so that a misbehaving element can be named precisely in a report.
Structs§
- Devtools
Plugin - The plugin.
Constants§
- CMD_
DEVTOOLS - Opens or closes the panel.
- PANEL_
DEVTOOLS - The panel.
- SETTING_
DEVTOOLS - The setting that lets devtools open.
- STEP_
CALL - A collector action run from the panel.
- TABS
- The tabs.