pub struct DebugSessionHandle { /* private fields */ }Expand description
Handle for interacting with a debug session
Implementations§
Source§impl DebugSessionHandle
impl DebugSessionHandle
Sourcepub fn add_breakpoint(&self, breakpoint: Breakpoint) -> SklResult<()>
pub fn add_breakpoint(&self, breakpoint: Breakpoint) -> SklResult<()>
Add breakpoint to this session
Sourcepub fn step_next(&self) -> SklResult<StepResult>
pub fn step_next(&self) -> SklResult<StepResult>
Step to next execution point
Sourcepub fn continue_execution(&self) -> SklResult<StepResult>
pub fn continue_execution(&self) -> SklResult<StepResult>
Continue execution
Sourcepub fn get_state(&self) -> Option<DebugSessionState>
pub fn get_state(&self) -> Option<DebugSessionState>
Get session state
Sourcepub fn get_execution_history(&self) -> Vec<ExecutionStep>
pub fn get_execution_history(&self) -> Vec<ExecutionStep>
Get execution history
Auto Trait Implementations§
impl Freeze for DebugSessionHandle
impl RefUnwindSafe for DebugSessionHandle
impl Send for DebugSessionHandle
impl Sync for DebugSessionHandle
impl Unpin for DebugSessionHandle
impl UnwindSafe for DebugSessionHandle
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more