#include "porting.h"
#include "debug.h"
#include "exceptions.h"
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <map>
#include <sstream>
#include <thread>
#include "threading/mutex_auto_lock.h"
#include "config.h"
Functions | |
void | sanity_check_fn (const char *assertion, const char *file, unsigned int line, const char *function) |
void | fatal_error_fn (const char *msg, const char *file, unsigned int line, const char *function) |
std::string | debug_describe_exc (const std::exception &e) |
void | debug_set_exception_handler () |
std::string debug_describe_exc | ( | const std::exception & | e | ) |
Referenced by ClientLauncher::run(), and script_exception_wrapper().
void debug_set_exception_handler | ( | ) |
void fatal_error_fn | ( | const char * | msg, |
const char * | file, | ||
unsigned int | line, | ||
const char * | function ) |
References errorstream, g_term_console, and TerminalChatConsole::stopAndWaitforThread().
void sanity_check_fn | ( | const char * | assertion, |
const char * | file, | ||
unsigned int | line, | ||
const char * | function ) |
References errorstream, g_term_console, and TerminalChatConsole::stopAndWaitforThread().