VmDebugger

Trait VmDebugger 

Source
pub trait VmDebugger<SE>
where SE: ScriptExpression,
{ // Provided methods fn on_enter_scope( &mut self, scope: &VmScope<'_, SE>, context: &mut Context, registry: &Registry, ) { ... } fn on_exit_scope( &mut self, scope: &VmScope<'_, SE>, context: &mut Context, registry: &Registry, ) { ... } fn on_enter_operation( &mut self, scope: &VmScope<'_, SE>, operation: &ScriptOperation<'_, SE>, position: usize, context: &mut Context, registry: &Registry, ) { ... } fn on_exit_operation( &mut self, scope: &VmScope<'_, SE>, operation: &ScriptOperation<'_, SE>, position: usize, context: &mut Context, registry: &Registry, ) { ... } fn into_handle(self) -> Arc<RwLock<dyn VmDebugger<SE> + Send + Sync>> where Self: Sized + Send + Sync + 'static { ... } }

Provided Methods§

Source

fn on_enter_scope( &mut self, scope: &VmScope<'_, SE>, context: &mut Context, registry: &Registry, )

Source

fn on_exit_scope( &mut self, scope: &VmScope<'_, SE>, context: &mut Context, registry: &Registry, )

Source

fn on_enter_operation( &mut self, scope: &VmScope<'_, SE>, operation: &ScriptOperation<'_, SE>, position: usize, context: &mut Context, registry: &Registry, )

Source

fn on_exit_operation( &mut self, scope: &VmScope<'_, SE>, operation: &ScriptOperation<'_, SE>, position: usize, context: &mut Context, registry: &Registry, )

Source

fn into_handle(self) -> Arc<RwLock<dyn VmDebugger<SE> + Send + Sync>>
where Self: Sized + Send + Sync + 'static,

Implementors§