Nebula
Loading...
Searching...
No Matches
posixstacktrace.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
12#include "core/types.h"
13#include "util/string.h"
14
15//------------------------------------------------------------------------------
16namespace Posix
17{
19{
20public:
24 static void PrintStackTrace(int skip = 0);
25};
26}
Posix implementation of stacktrace.
Definition posixstacktrace.h:19
static void PrintStackTrace(int skip=0)
print the stack trace with n_printf, leaving out the caller's first skip frames
static const Util::Array< Util::String > GenerateStackTrace()
create a stack trace, one line per frame starting at the caller, also written straight to stderr
Nebula's dynamic array class.
Definition array.h:61
Posix implemention of a read-many write-few lock.
Definition posixsysfunc.cc:23