Skip to main content

Module model

Module model 

Source
Expand description

Data model consumed by the debugger TUI.

A DebugSession is the output of a single anchor debugger run, holding every (test, tx) pair the profile callback captured. Each DebugTx contains one DebugNode per program invocation (top-level

  • CPIs) in that tx; each node owns the stream of DebugSteps it executed.

Structs§

DebugNode
One program invocation: either the top-level program call or a CPI.
DebugSession
Top-level debugger state: every trace captured across every test.
DebugStep
One traced SBPF instruction plus everything the TUI panes need to render it.
DebugTx
One outer transaction’s worth of traced execution.
ProgramDisasm
Pre-rendered static disassembly for one program. Built once at arena-build time; the TUI only reads from it.
SrcLoc
StaticInsn
One row in the static disasm view.