Trait gdb_command::stacktrace::StacktraceExt
source · pub trait StacktraceExt {
// Required methods
fn from_gdb<T: AsRef<str>>(trace: T) -> Result<Stacktrace>;
fn compute_module_offsets(&mut self, mappings: &MappedFiles);
fn strip_prefix<T: AsRef<str>>(&mut self, prefix: T);
}
Required Methods§
sourcefn compute_module_offsets(&mut self, mappings: &MappedFiles)
fn compute_module_offsets(&mut self, mappings: &MappedFiles)
Compute module offsets for stack trace entries based on mapped files. Gdb doesn’t print module and offset in stack trace.
§Arguments
- ‘mappings’ - information about mapped files
sourcefn strip_prefix<T: AsRef<str>>(&mut self, prefix: T)
fn strip_prefix<T: AsRef<str>>(&mut self, prefix: T)
Object Safety§
This trait is not object safe.