Expand description
anchor debugger TUI.
Two screens drive the whole experience:
- [
Screen::Picker] — startup. Lists every captured(test, tx)pair with total CU; user picks one to step into. Also reachable from the stepper viat, so jumping across txs within a session is one keypress. - [
Screen::Stepper] — foundry-style instruction stepper with panes for the instruction list, registers, call stack, and source.
Keybinds mirror forge test --debug where it makes sense:
j / k / ↑ / ↓ step ± 1 instruction
s / a step over next/prev call
c / C previous / next CPI invocation
g / G first / last step in current node
t return to tx picker (or select in picker)
K / J scroll call stack
q quit
10k repeat count (e.g. move up 10 steps)Functions§
- run
- Run the debugger TUI over a fully-populated
DebugSession. Blocks until the user hitsq.