Trait SingleThreadSingleStep

Source
pub trait SingleThreadSingleStep: Target + SingleThreadResume {
    // Required method
    fn step(&mut self, signal: Option<Signal>) -> Result<(), Self::Error>;
}
Expand description

Target Extension - Optimized single stepping for single threaded targets. See SingleThreadResume::support_single_step.

Required Methods§

Source

fn step(&mut self, signal: Option<Signal>) -> Result<(), Self::Error>

Single step the target.

Single stepping will step the target a single “step” - typically a single instruction. The GDB client may also include a signal which should be passed to the target.

Implementors§