pub struct Debugger { /* private fields */ }
Expand description
A type providing debugging facilities.
Implementations§
source§impl 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: Option<&str>,
node: ASTNode<'_>
) -> Option<usize>
pub fn is_break_point( &self, src: Option<&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§
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