Safir SDK Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Safir::Application::CrashReporter Class Reference

Provides methods to start and stop the crash reporting functionality. More...

#include <Safir/Application/CrashReporter.h>

Static Public Member Functions

static void Start ()
 Start crash reporter. More...
 
static void Stop ()
 Stop crash reporting. More...
 

Detailed Description

Provides methods to start and stop the crash reporting functionality.

Member Function Documentation

static void Safir::Application::CrashReporter::Start ( )
static

Start crash reporter.

Calling this function will cause google breakpad to be enabled for the current process. This function should be called as early as is humanly possible! Note that Stop() must be called before the process exits.

You can also use the ScopedCrashReporter RAII class below to get the CrashReporter::Start and CrashReporter::Stop functions to be called automatically, even in case of exceptions.

Referenced by Safir::Application::ScopedCrashReporter::ScopedCrashReporter().

Here is the caller graph for this function:

static void Safir::Application::CrashReporter::Stop ( )
static

Stop crash reporting.

This needs to be called before exiting an application to stop crash reporter if it has been started.

You can also use the ScopedCrashReporter RAII class below to get the CrashReporter::Start and CrashReporter::Stop functions to be called automatically, even in case of exceptions.

Referenced by Safir::Application::ScopedCrashReporter::~ScopedCrashReporter().

Here is the caller graph for this function: