DebugHandler

Trait DebugHandler 

Source
pub trait DebugHandler: Sync {
    // Provided methods
    fn on_debug(
        &mut self,
        process: &ProcessState<'_>,
        options: &DebugOptions,
    ) -> Result<(), ExecutionError> { ... }
    fn on_trace(
        &mut self,
        process: &ProcessState<'_>,
        trace_id: u32,
    ) -> Result<(), ExecutionError> { ... }
}
Expand description

Handler for debug and trace operations

Provided Methods§

Source

fn on_debug( &mut self, process: &ProcessState<'_>, options: &DebugOptions, ) -> Result<(), ExecutionError>

This function is invoked when the Debug decorator is executed.

Source

fn on_trace( &mut self, process: &ProcessState<'_>, trace_id: u32, ) -> Result<(), ExecutionError>

This function is invoked when the Trace decorator is executed.

Implementors§