Crate backtrace_ext

source ·
Expand description

Minor conveniences on top of the backtrace crate

See short_frames_strict for details.

Structs

  • Representation of an owned and self-contained backtrace.
  • A formatter for backtraces.
  • Captured version of a frame in a backtrace.
  • A formatter for just one frame of a backtrace.
  • Captured version of a symbol in a backtrace.
  • A trait representing one frame of a backtrace, yielded to the trace function of this crate.
  • A trait representing the resolution of a symbol in a file.
  • A wrapper around a symbol name to provide ergonomic accessors to the demangled name, the raw bytes, the raw string, etc.

Enums

  • A platform independent representation of a string. When working with std enabled it is recommended to the convenience methods for providing conversions to std types.
  • The styles of printing that we can print

Functions

  • Attempt to reclaim that cached memory used to symbolicate addresses.
  • Resolve an address to a symbol, passing the symbol to the specified closure.
  • Resolve a previously capture frame to a symbol, passing the symbol to the specified closure.
  • Same as resolve_frame, only unsafe as it’s unsynchronized.
  • Same as resolve, only unsafe as it’s unsynchronized.
  • Gets an iterator over the frames that are part of Rust’s “short backtrace” range. If no such range is found, the full stack is yielded.
  • Inspects the current call-stack, passing all active frames into the closure provided to calculate a stack trace.
  • Same as trace, only unsafe as it’s unsynchronized.