pub enum StepMode {
Into,
Over,
Out,
}Expand description
How a debug_step call derives its “run until” target from call-stack
depth deltas (docs/debugger-spec.md §4). See
Story::debug_step for the exact
per-variant depth comparison.
Variants§
Into
Execute exactly one instruction, descending into any newly-entered
frame. Uniform across every CallFrameType — table §4’s own
framing (“This is uniform across frame types”).
Over
Run through any call the next instruction makes without stopping inside it; stop once back at (or still at) the starting depth.
Out
Run until the current frame returns to its caller (depth strictly less than the starting depth).
Trait Implementations§
impl Copy for StepMode
impl Eq for StepMode
impl StructuralPartialEq for StepMode
Auto Trait Implementations§
impl Freeze for StepMode
impl RefUnwindSafe for StepMode
impl Send for StepMode
impl Sync for StepMode
impl Unpin for StepMode
impl UnsafeUnpin for StepMode
impl UnwindSafe for StepMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more