TracktionEngine
Classes | Namespaces | Macros
tracktion_CrashTracer.h File Reference

Classes

struct  tracktion::engine::CrashStackTracer
 Used by the CRASH_TRACER macros to help provide a useful crash log of the stack. More...
 
struct  tracktion::engine::DeadMansPedalMessage
 This RAII class saves a property which will be reported at startup as a failure if the app disappears before its destructor is called. More...
 

Namespaces

 tracktion
 
 tracktion::engine
 

Macros

#define CRASH_TRACER   const CrashStackTracer JUCE_JOIN_MACRO (__crashTrace, __LINE__) (__FILE__, __FUNCTION__, __LINE__, nullptr);
 This macro adds the current location to a stack which gets logged if a crash happens. More...
 
#define CRASH_TRACER_PLUGIN(p)   const CrashStackTracer JUCE_JOIN_MACRO (__crashTrace, __LINE__) (__FILE__, __FUNCTION__, __LINE__, p);
 This macro adds the current location and the name of a plugin to a stack which gets logged if a crash happens. More...
 

Macro Definition Documentation

◆ CRASH_TRACER

#define CRASH_TRACER   const CrashStackTracer JUCE_JOIN_MACRO (__crashTrace, __LINE__) (__FILE__, __FUNCTION__, __LINE__, nullptr);

This macro adds the current location to a stack which gets logged if a crash happens.

◆ CRASH_TRACER_PLUGIN

#define CRASH_TRACER_PLUGIN (   p)    const CrashStackTracer JUCE_JOIN_MACRO (__crashTrace, __LINE__) (__FILE__, __FUNCTION__, __LINE__, p);

This macro adds the current location and the name of a plugin to a stack which gets logged if a crash happens.