pub struct DebugTrace {
pub execution: DebugExecution,
pub summary: DebugTraceSummary,
pub events: Vec<DebugTraceEvent>,
pub diagnostics: Vec<String>,
}Expand description
A compiler-independent view of one execution’s debugging experience.
Fields§
§execution: DebugExecution§summary: DebugTraceSummary§events: Vec<DebugTraceEvent>§diagnostics: Vec<String>Artifact or trace inconsistencies that make a comparison inconclusive.
Implementations§
Source§impl DebugTrace
impl DebugTrace
Sourcepub fn retain_checkpoints(&mut self, checkpoints: &[DebugCheckpoint])
pub fn retain_checkpoints(&mut self, checkpoints: &[DebugCheckpoint])
Restricts comparison to explicit test checkpoints and diagnoses unreached ones.
This is a test expectation, not source recovery: only existing mapped stops can satisfy a checkpoint. Each side must reach every checkpoint at least once.
Sourcepub fn set_constructor_args(&mut self, arguments: &str) -> SoldbResult<()>
pub fn set_constructor_args(&mut self, arguments: &str) -> SoldbResult<()>
Supplies encoded constructor arguments when comparing creation executions.
Their boundary cannot be recovered from source maps: initcode contains embedded runtime code and data too. The caller must supply the known ABI payload.
Trait Implementations§
Source§impl Clone for DebugTrace
impl Clone for DebugTrace
Source§impl Debug for DebugTrace
impl Debug for DebugTrace
Source§impl<'de> Deserialize<'de> for DebugTrace
impl<'de> Deserialize<'de> for DebugTrace
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DebugTrace
Source§impl PartialEq for DebugTrace
impl PartialEq for DebugTrace
Source§impl Serialize for DebugTrace
impl Serialize for DebugTrace
impl StructuralPartialEq for DebugTrace
Auto Trait Implementations§
impl Freeze for DebugTrace
impl RefUnwindSafe for DebugTrace
impl Send for DebugTrace
impl Sync for DebugTrace
impl Unpin for DebugTrace
impl UnsafeUnpin for DebugTrace
impl UnwindSafe for DebugTrace
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