[−][src]Struct probe_rs::debug::DebugInfo
Debug information which is parsed from DWARF debugging information.
Implementations
impl DebugInfo
[src]
pub fn from_file<P: AsRef<Path>>(path: P) -> Result<DebugInfo, DebugError>
[src]
Read debug info directly from a ELF file.
pub fn from_raw(data: &[u8]) -> Result<Self, DebugError>
[src]
Parse debug information directly from a buffer containing an ELF file.
pub fn get_source_location(&self, address: u64) -> Option<SourceLocation>
[src]
pub fn try_unwind<'probe, 'core>(
&self,
core: &'core mut Core<'probe>,
address: u64
) -> StackFrameIterator<'_, 'probe, 'core>
[src]
&self,
core: &'core mut Core<'probe>,
address: u64
) -> StackFrameIterator<'_, 'probe, 'core>
pub fn get_breakpoint_location(
&self,
path: &Path,
line: u64,
column: Option<u64>
) -> Result<Option<u64>, DebugError>
[src]
&self,
path: &Path,
line: u64,
column: Option<u64>
) -> Result<Option<u64>, DebugError>
Find the program counter where a breakpoint should be set, given a source file, a line and optionally a column.
Auto Trait Implementations
impl !RefUnwindSafe for DebugInfo
impl !Send for DebugInfo
impl !Sync for DebugInfo
impl Unpin for DebugInfo
impl UnwindSafe for DebugInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,