Top-level fields
Array of graph nodes. Each node represents a function, type, or test in your codebase.
Array of directed edges connecting nodes. Edges describe how nodes relate to each other.
Node object
A node represents a named entity in your codebase: a function, a type definition, or a test.The category of this node. One of
function, type, or test. See Node kinds below.Optional snippet of the source code for this entity. May be
null if source extraction was not enabled.Node kinds
Edge object
An edge is a directed connection between two nodes. Edges describe control flow, data dependencies, or test relationships.The type of relationship. One of
control_flow, data_flow, or test_link. See Edge kinds below.Edge kinds
Event object
Events are the timestamped record of what happened during execution. They are listed in order byseq and drive the replay timeline in the UI.
Unique identifier for a specific function invocation. Allows the UI to correlate
function_enter and function_exit events for the same call. May be null for non-call events.The
call_id of the caller. Used to reconstruct the call stack. May be null for top-level calls.The type of event. See Event kinds below.
Event kinds
ValueSlot object
AValueSlot is a named, captured value at a point in execution.
A string rendering of the value using Rust’s
Debug formatter ({:?}). This is a plain string, not structured data.preview values are produced by Debug formatting. If a type does not implement Debug, dbgflow cannot capture a preview for it and the field will reflect that limitation.Minimal example
The following is a minimal valid session file with one node and two events representing a single function call.Multi-pipeline sessions
You can merge multiple session files from a directory to produce a combined view across parallel pipelines or independent runs. dbgflow reads all.json session files in a given directory and merges their nodes, edges, and events into a single unified graph.
When merging sessions from a directory, dbgflow automatically re-namespaces all node IDs, edge references, and event sequence numbers so there are no collisions between sessions.