38#include "blocxx/BLOCXX_config.h"
49 cerr <<
"StackTrace::printStackTrace not implemented yet" <<
endl;
63#if defined(BLOCXX_HAVE_BACKTRACE)
67#if defined(BLOCXX_HAVE_CXXABI_H)
71#ifdef BLOCXX_HAVE_UNISTD_H
85#ifndef BLOCXX_DEFAULT_GDB_PATH
86#define BLOCXX_DEFAULT_GDB_PATH "/usr/bin/gdb"
103#ifdef BLOCXX_HAVE_BACKTRACE
112 for (
i = 0;
i < size;
i++)
114#if defined(BLOCXX_HAVE_CXXABI_H)
136 return bt.releaseString();
173 return output.releaseString();
#define BLOCXX_DEFAULT_GDB_PATH
Array<> wraps std::vector<> in COWReference<> adding ref counting and copy on write capability.
void push_back(const T &x)
Append an element to the end of the Array.
This String class is an abstract data type that represents as NULL terminated string of characters.
static String getLine(std::istream &istr)
Reads from in input stream until a newline is encountered.
Process::Status system(const Array< String > &command, const char *const envp[], const Timeout &timeout)
Execute a command.
BLOCXX_COMMON_API String getStackTrace(EDoStackTraceFlag=E_NO_CHECK_ENV_VAR)
BLOCXX_COMMON_API void printStackTrace(EDoStackTraceFlag=E_CHECK_ENV_VAR)
bool operator==(const Array< T > &x, const Array< T > &y)