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§
Sourcefn on_debug(
&mut self,
process: &ProcessState<'_>,
options: &DebugOptions,
) -> Result<(), ExecutionError>
fn on_debug( &mut self, process: &ProcessState<'_>, options: &DebugOptions, ) -> Result<(), ExecutionError>
This function is invoked when the Debug
decorator is executed.
Sourcefn on_trace(
&mut self,
process: &ProcessState<'_>,
trace_id: u32,
) -> Result<(), ExecutionError>
fn on_trace( &mut self, process: &ProcessState<'_>, trace_id: u32, ) -> Result<(), ExecutionError>
This function is invoked when the Trace
decorator is executed.