pub struct DebugSession {
pub debugger: ScriptDebugger,
pub call_stack: CallStackTrace,
pub locals: Vec<(String, Value)>,
}Expand description
A REPL-style debug session. Executes DebugCommands against a VM and
a ScriptDebugger.
Fields§
§debugger: ScriptDebugger§call_stack: CallStackTraceSimulated call stack for display purposes.
locals: Vec<(String, Value)>Named locals for the current frame (set externally before commands).
Implementations§
Source§impl DebugSession
impl DebugSession
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DebugSession
impl !RefUnwindSafe for DebugSession
impl !Send for DebugSession
impl !Sync for DebugSession
impl Unpin for DebugSession
impl UnsafeUnpin for DebugSession
impl !UnwindSafe for DebugSession
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