pub struct PipelineDebugger {
pub session_id: String,
pub state: DebugState,
pub breakpoints: Vec<Breakpoint>,
pub execution_trace: Vec<TraceEntry>,
pub watch_expressions: HashMap<String, WatchExpression>,
}Expand description
Debug utilities for pipeline inspection
Fields§
§session_id: StringDebug session ID
state: DebugStateCurrent debug state
breakpoints: Vec<Breakpoint>Breakpoints set by the developer
execution_trace: Vec<TraceEntry>Execution trace
watch_expressions: HashMap<String, WatchExpression>Watch expressions
Implementations§
Source§impl PipelineDebugger
impl PipelineDebugger
Sourcepub fn start_debug_session(&mut self) -> SklResult<()>
pub fn start_debug_session(&mut self) -> SklResult<()>
Start a debugging session
Sourcepub fn add_breakpoint(
&mut self,
location: String,
condition: Option<String>,
) -> String
pub fn add_breakpoint( &mut self, location: String, condition: Option<String>, ) -> String
Add a breakpoint
Sourcepub fn record_trace(&mut self, entry: TraceEntry)
pub fn record_trace(&mut self, entry: TraceEntry)
Record a trace entry
Sourcepub fn get_debug_summary(&self) -> DebugSummary
pub fn get_debug_summary(&self) -> DebugSummary
Get debugging summary
Trait Implementations§
Source§impl Debug for PipelineDebugger
impl Debug for PipelineDebugger
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