40 class CrashReporter_Impl;
51 CrashReporter(
const std::string &reports_directory,
const std::string &uploader_executable = std::string());
75 std::shared_ptr<CrashReporter_Impl> impl;
Generates crash reports (aka. minidumps or core dumps) when the application crashes,...
Definition: crash_reporter.h:44
static void hook_thread()
Hooks the current thread to the crash reporter.
static void generate_report()
Generate a crash report for the current thread without terminating.
CrashReporter(const std::string &reports_directory, const std::string &uploader_executable=std::string())
Constructs a crash reporter that creates crash dumps in the specified directory.
static void invoke()
Force a crash.