pub const StackTrace = struct return_addresses: []usizeEach element is the "return address" of a function call, meaning the instruction address which control flow will return to when the function returns.
The first slice element corresponds to the innermost stack frame, and the last element to the outermost.
Inlined function calls do not have meaningful return addresses and are therefore not included in this slice. Instead, when printing the stack trace, the source locations of inline calls should be read from debug information and the corresponding "inline frames" printed in the appropriate locations.
skipped: SkippedAddressesIndicates whether any stack frames were omitted from return_addresses.
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651pub const StackTrace = struct {
/// Each element is the "return address" of a function call, meaning the instruction address
/// which control flow will return to when the function returns.
///
/// The first slice element corresponds to the innermost stack frame, and the last element to
/// the outermost.
///
/// Inlined function calls do not have meaningful return addresses and are therefore not
/// included in this slice. Instead, when printing the stack trace, the source locations of
/// inline calls should be read from debug information and the corresponding "inline frames"
/// printed in the appropriate locations.
return_addresses: []usize,
/// Indicates whether any stack frames were omitted from `return_addresses`.
skipped: SkippedAddresses,
}