Enum probe_rs::debug::DebugError
source · pub enum DebugError {
Io(Error),
DebugData(Error),
Parse(Error),
NonUtf8(Utf8Error),
Probe(Error),
CharConversion(CharTryFromError),
IntConversion(TryFromIntError),
NoValidHaltLocation {
message: String,
pc_at_error: u64,
},
UnwindIncompleteResults {
message: String,
},
Other(Error),
}
Expand description
An error occurred while debugging the target.
Variants§
Io(Error)
An IO error occurred when accessing debug data.
DebugData(Error)
An error occurred while accessing debug data.
Parse(Error)
Something failed while parsing debug data.
NonUtf8(Utf8Error)
Non-UTF8 data was found in the debug data.
Probe(Error)
A probe-rs error occurred.
CharConversion(CharTryFromError)
A char could not be created from the given string.
IntConversion(TryFromIntError)
An int could not be created from the given string.
NoValidHaltLocation
Fields
Errors encountered while determining valid halt locations for breakpoints and stepping. These are distinct from other errors because they terminate the current step, and result in a user message, but they do not interrupt the rest of the debug session.
UnwindIncompleteResults
Fields
Non-terminal Errors encountered while unwinding the stack, e.g. Could not resolve the value of a variable in the stack. These are distinct from other errors because they do not interrupt processing. Instead, the cause of incomplete results are reported back/explained to the user, and the stack continues to unwind.
Other(Error)
Some other error occurred.