[][src]Struct probe_rs::debug::DebugInfo

pub struct DebugInfo { /* fields omitted */ }

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]

pub fn get_breakpoint_location(
    &self,
    path: &Path,
    line: u64,
    column: Option<u64>
) -> Result<Option<u64>, DebugError>
[src]

Find the program counter where a breakpoint should be set, given a source file, a line and optionally a column.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.