pub enum DebuggerCommand {
Show 29 variants
Next,
NextInstruction,
Step,
Continue,
Finish,
ReverseNext,
ReverseNextInstruction,
ReverseStep,
ReverseContinue,
ReverseFinish,
Goto(usize),
Vars,
Print(String),
Info(DebuggerInfoCommand),
Backtrace,
List,
Memory {
offset: Option<u64>,
length: Option<u64>,
},
Calldata,
ReturnData,
Stack {
limit: Option<usize>,
},
Mode(Option<DisplayMode>),
Break(BreakpointTarget, Option<String>),
Clear(BreakpointTarget),
Delete(u32),
Help(Option<String>),
Tui,
Quit,
Empty,
Unknown(String),
}Expand description
A command as typed, with its arguments parsed.
Variants§
Next
NextInstruction
Step
Continue
Finish
Run until the current frame returns to its caller.
ReverseNext
Step back to the previous source step.
ReverseNextInstruction
Step back one EVM instruction.
ReverseStep
Step back into the previous instruction, the mirror of step.
ReverseContinue
Run backward until a breakpoint or the first step.
ReverseFinish
Run backward to the step that entered the current frame.
Goto(usize)
Vars
List every variable in scope at the current step, and the state variables.
Print(String)
Print one variable, or a path into one, at the current step.
An empty name means the user typed print with no argument; the session reports
the usage rather than treating it as an unknown command.
Info(DebuggerInfoCommand)
Backtrace
The call structure at the current step.
List
The source around the current step.
Memory
Memory at the current step, optionally one range of it.
Calldata
The calldata of the current call frame.
ReturnData
The return data buffer at the current step.
Stack
The stack at the current step, all of it or the top limit words.
Mode(Option<DisplayMode>)
Break(BreakpointTarget, Option<String>)
Set a breakpoint, optionally one that stops only when a condition holds.
Clear(BreakpointTarget)
Delete(u32)
Remove a breakpoint by number.
Help(Option<String>)
Tui
Open the full-screen view.