Minetest  5.4.0
debug.cpp File Reference
#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"
+ Include dependency graph for debug.cpp:

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)
 
void debug_set_exception_handler ()
 

Function Documentation

◆ debug_set_exception_handler()

void debug_set_exception_handler ( )

Referenced by main().

+ Here is the caller graph for this function:

◆ fatal_error_fn()

void fatal_error_fn ( const char *  msg,
const char *  file,
unsigned int  line,
const char *  function 
)

References errorstream, g_term_console, and TerminalChatConsole::stopAndWaitforThread().

+ Here is the call graph for this function:

◆ sanity_check_fn()

void sanity_check_fn ( const char *  assertion,
const char *  file,
unsigned int  line,
const char *  function 
)

References errorstream, g_term_console, and TerminalChatConsole::stopAndWaitforThread().

+ Here is the call graph for this function: