Nebula
Loading...
Searching...
No Matches
Posix::PosixStackTrace Class Reference

#include <posixstacktrace.h>

Detailed Description

Posix implementation of stacktrace.

Function, file and line come from addr2line, so they need binutils installed and debug info in the module.

Static Public Member Functions

static const Util::Array< Util::String > GenerateStackTrace ()
 create a stack trace, one line per frame starting at the caller, also written straight to stderr
static void PrintStackTrace (int skip=0)
 print the stack trace with n_printf, leaving out the caller's first skip frames

Member Function Documentation

◆ GenerateStackTrace()

const Util::Array< Util::String > Posix::PosixStackTrace::GenerateStackTrace ( )
static

create a stack trace, one line per frame starting at the caller, also written straight to stderr

◆ PrintStackTrace()

void Posix::PosixStackTrace::PrintStackTrace ( int skip = 0)
static

print the stack trace with n_printf, leaving out the caller's first skip frames


The documentation for this class was generated from the following file: