Generates crash reports (aka. minidumps or core dumps) when the application crashes, or when requested. More...
#include <crash_reporter.h>
Static Public Member Functions | |
static void | generate_report () |
Generate a crash report for the current thread without terminating. More... | |
static void | hook_thread () |
Hooks the current thread to the crash reporter. More... | |
static void | invoke () |
Force a crash. More... | |
static void | setup (const std::string &reports_directory, const std::string &uploader_executable=std::string()) |
Sets up a crash reporter that creates crash dumps in the specified directory. More... | |
Generates crash reports (aka. minidumps or core dumps) when the application crashes, or when requested.
|
static |
Generate a crash report for the current thread without terminating.
|
static |
Hooks the current thread to the crash reporter.
The crash reporter will only work for hooked threads.
|
static |
Force a crash.
This is useful for failing asserts.
|
static |
Sets up a crash reporter that creates crash dumps in the specified directory.
If uploader_executable is a non-empty string the executable will be launched if the application crashes.