Zig 0.17.0-dev (Split by item)

This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig library itself.

writeStackTrace

Write a previously captured stack trace to writer, annotated with source locations.

debug.writeStackTrace
pub fn writeStackTrace(st: *const StackTrace, t: Io.Terminal) Writer.Error!void

File

lib/std/debug.zig:850

Code

pub fn writeStackTrace(st: *const StackTrace, t: Io.Terminal) Writer.Error!void {
    try writeTrace(st.return_addresses, st.skipped, t, true);
}