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§
- Debug
Node - One program invocation: either the top-level program call or a CPI.
- Debug
Session - Top-level debugger state: every trace captured across every test.
- Debug
Step - One traced SBPF instruction plus everything the TUI panes need to render it.
- DebugTx
- One outer transaction’s worth of traced execution.
- Program
Disasm - Pre-rendered static disassembly for one program. Built once at arena-build time; the TUI only reads from it.
- SrcLoc
- Static
Insn - One row in the static disasm view.