pub struct PipelineDebugger { /* private fields */ }Expand description
Pipeline debugger with comprehensive debugging capabilities
Implementations§
Source§impl PipelineDebugger
impl PipelineDebugger
Sourcepub fn new(config: DebugConfig) -> Self
pub fn new(config: DebugConfig) -> Self
Create a new pipeline debugger
Sourcepub fn add_breakpoint(&mut self, breakpoint: Breakpoint)
pub fn add_breakpoint(&mut self, breakpoint: Breakpoint)
Add a breakpoint
Sourcepub fn remove_breakpoint(&mut self, breakpoint_id: &str) -> Option<Breakpoint>
pub fn remove_breakpoint(&mut self, breakpoint_id: &str) -> Option<Breakpoint>
Remove a breakpoint
Sourcepub fn toggle_breakpoint(
&mut self,
breakpoint_id: &str,
enabled: bool,
) -> SklResult<()>
pub fn toggle_breakpoint( &mut self, breakpoint_id: &str, enabled: bool, ) -> SklResult<()>
Enable/disable breakpoint
Sourcepub fn start_debug_session(&mut self) -> SklResult<DebugSession>
pub fn start_debug_session(&mut self) -> SklResult<DebugSession>
Start debugging session
Sourcepub fn record_step(
&mut self,
step_id: &str,
component_name: &str,
duration: Duration,
input_data: Option<&Array2<Float>>,
output_data: Option<&Array2<Float>>,
error: Option<StepError>,
) -> SklResult<()>
pub fn record_step( &mut self, step_id: &str, component_name: &str, duration: Duration, input_data: Option<&Array2<Float>>, output_data: Option<&Array2<Float>>, error: Option<StepError>, ) -> SklResult<()>
Record execution step
Sourcepub fn get_execution_trace(&self) -> &[ExecutionStep]
pub fn get_execution_trace(&self) -> &[ExecutionStep]
Get execution trace
Sourcepub fn get_execution_state(&self) -> &ExecutionState
pub fn get_execution_state(&self) -> &ExecutionState
Get current execution state
Sourcepub fn continue_execution(&mut self) -> SklResult<()>
pub fn continue_execution(&mut self) -> SklResult<()>
Continue execution from paused state
Sourcepub fn step_execution(&mut self) -> SklResult<()>
pub fn step_execution(&mut self) -> SklResult<()>
Step to next execution point
Sourcepub fn get_performance_analysis(&self) -> PerformanceAnalysis
pub fn get_performance_analysis(&self) -> PerformanceAnalysis
Get performance analysis
Sourcepub fn get_error_analysis(&self) -> ErrorAnalysis
pub fn get_error_analysis(&self) -> ErrorAnalysis
Get error analysis
Sourcepub fn export_debug_report(
&self,
format: DebugOutputFormat,
) -> SklResult<String>
pub fn export_debug_report( &self, format: DebugOutputFormat, ) -> SklResult<String>
Export debug report
Auto Trait Implementations§
impl Freeze for PipelineDebugger
impl RefUnwindSafe for PipelineDebugger
impl Send for PipelineDebugger
impl Sync for PipelineDebugger
impl Unpin for PipelineDebugger
impl UnwindSafe for PipelineDebugger
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more