Expand description

Debugging support for probe-rs

The debug module contains various debug functionality, which can be used to implement a debugger based on probe-rs.


pub use self::debug_info::*;
pub use self::registers::*;
pub use self::stack_frame::StackFrame;
pub use self::variable::*;
pub use self::variable_cache::VariableCache;


Debug information which is parsed from DWARF debugging information.

References to the DIE (debug information entry) of functions.

Target Register definitions.

The stack frame information used while unwinding the stack from a specific program counter.

Stepping granularity for stepping through a program during debug.

Information about a Unit in the debug information.

Variable information used during debug.

The hierarchical cache of all variables for a given scope.


A specific location in source code.


A copy of gimli::ColumnType which uses u64 instead of [NonZeroU64].

An error occurred while debugging the target.


Generate a unique key that can be used to assign id’s to StackFrame and Variable structs.