Nebula
Toggle main menu visibility
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
//------------------------------------------------------------------------------
16
namespace
Posix
17
{
18
class
PosixStackTrace
19
{
20
public
:
22
static
const
Util::Array<Util::String>
GenerateStackTrace
();
24
static
void
PrintStackTrace
(
int
skip = 0);
25
};
26
}
Posix::PosixStackTrace
Posix implementation of stacktrace.
Definition
posixstacktrace.h:19
Posix::PosixStackTrace::PrintStackTrace
static void PrintStackTrace(int skip=0)
print the stack trace with n_printf, leaving out the caller's first skip frames
Posix::PosixStackTrace::GenerateStackTrace
static const Util::Array< Util::String > GenerateStackTrace()
create a stack trace, one line per frame starting at the caller, also written straight to stderr
Util::Array
Nebula's dynamic array class.
Definition
array.h:61
Posix
Posix implemention of a read-many write-few lock.
Definition
posixsysfunc.cc:23
string.h
types.h
code
foundation
debug
posix
posixstacktrace.h
Generated on
for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.