DevTools
All executions
Compare executions from several UseCases in one selected isolate and interpret timing without inventing missing history.
Use this view when several UseCases are doing work at once and switching between their individual screens hides the sequence you need to understand. For example, two catalog screens can both submit execution 1; the aggregate table keeps their sources distinct.
Open the table
- Use core
^1.4.0in application dependencies andusecase_forge_devtools ^1.2.0in dev_dependencies. - Start a supported Dart VM application with its VM service and open the UseCase Forge DevTools tab. Follow Connect and protect data if the extension is not visible.
- Select the intended isolate. Submit Commands in that application.
- Choose All executions in the toolbar. Switch back to the individual UseCase view when you need its Snapshot, queues or history.
A public observer is not required to populate this VM view. The browser displays the extension, but the inspected application must be a VM target. This is not a Flutter Web diagnostics transport.
Read a row
| Column | Interpretation |
|---|---|
| Source / execution | VM UseCase instance ID and its local execution ID; read both |
| Command | The submitted Command type, not its private fields |
| Stage / result | Last observed milestone, or a terminal result |
| Before processing | Time from submitted to processingStarted |
| Processing | Time from processingStarted to the recorded event |
| Total | Time from submitted to the recorded event |
| Coverage | Whether the available timing was measured, partial or unavailable |
For a fully measured completion, 110 ms before processing and 90 ms processing mean 200 ms total. A large first interval suggests checking input policies, queued work or starting hooks. A large processing interval can include network waits and finalization: it is not a CPU profile.
Numbers are frozen at the last event, not live stopwatches. A dash means unavailable, not zero. Read the interval definitions before comparing results.
Do not mistake the last event for live status
A row such as last: processingStarted says what the tool last observed. It does not prove work is still running: later events may be outside the retained window or the source may be unavailable.
When a source closes or disappears, nonterminal rows report source unavailable. Terminal results already observed remain visible while their events remain in the window. Use the individual UseCase view to inspect currently available instance data.
Know what is missing
The table is derived from the controller's existing 500-event window across isolates, not a second unlimited history. It displays the selected isolate; switching filters does not extend retention. The eviction count reports events removed at capacity. One execution can contribute several events, so 500 events does not mean 500 complete rows.
Late attachment does not replay earlier events. A timing sample can be partial, unsupported by a custom clock, invalid or lost to measurement capacity. Conversely, a public observer already measuring the work can supply complete timings even when DevTools attached later. Complete timing does not prove the UI retained every event.
Reconnect clears the previous session. Neither this table nor the runtime observer is a persistent audit trail.
Compatibility and privacy
Protocol 1.1 adds optional executionTiming capability and payload.executionTiming data. Older core can omit them; a missing capability means false. Invalid optional timing is ignored without discarding the base event. Older readers can ignore additive fields.
No extra State, Command fields or error details are exposed by this feature. Existing opt-in data rules still apply. The extension remains read-only: no cancellation, retry or queue mutation.
For a deterministic reproduction of the two-catalog example, use Test overlapping executions.