pub struct Debugger { /* private fields */ }
Expand description
A type providing debugging facilities.
Implementations
sourceimpl Debugger
impl Debugger
sourcepub fn call_stack(&self) -> &[CallStackFrame]
pub fn call_stack(&self) -> &[CallStackFrame]
Get the current call stack.
sourcepub fn is_break_point(&self, src: &str, node: ASTNode<'_>) -> Option<usize>
pub fn is_break_point(&self, src: &str, node: ASTNode<'_>) -> Option<usize>
Returns the first break-point triggered by a particular AST
Node.
sourcepub fn break_points(&self) -> &[BreakPoint]
pub fn break_points(&self) -> &[BreakPoint]
Get a slice of all BreakPoint
’s.
sourcepub fn break_points_mut(&mut self) -> &mut Vec<BreakPoint>
pub fn break_points_mut(&mut self) -> &mut Vec<BreakPoint>
Get the underlying Vec
holding all BreakPoint
’s.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Debugger
impl !Send for Debugger
impl !Sync for Debugger
impl Unpin for Debugger
impl !UnwindSafe for Debugger
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CallHasher for T where
T: Hash + ?Sized,
impl<T> CallHasher for T where
T: Hash + ?Sized,
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more