FNiagaraCrashReporterHandler

Manages Niagara's integration with the Crash Reporter.

Windows
MacOS
Linux

Inheritance Hierarchy

FTlsAutoCleanup

TThreadSingleton

FNiagaraCrashReporterHandler

References

Module

Niagara

Header

/Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraCrashReporterHandler.h

Include

#include "NiagaraCrashReporterHandler.h"

Syntax

class FNiagaraCrashReporterHandler : public TThreadSingleton< FNiagaraCrashReporterHandler >

Remarks

Manages Niagara's integration with the Crash Reporter. Allows Niagara code to add information to a crash report which can help track down rare bugs.

Constructors

Destructors

Functions

Name Description

Public function

void

 

Clear()

Clears out Niagara's CR entry for this thread.

Public function Static

void

 

OnEnabledChanged

(
    IConsoleVariable* InVariable
)

Handle a change in the enabled CVar for Niagara's CR info.

Public function

void

 

PopInfo()

Pop the current info from the stack and set the previous info as Niagara's current CR info for this thread.

Public function

void

 

PushInfo

(
    FNiagaraSystemInstance* Inst
)

Push info on a system instance to the info stack and set as Niagara's current CR info for this thread.

Public function

void

 

PushInfo

(
    FNiagaraSystemSimulation* Syst...
)

Push info on a system simulation to the info stack and set as Niagara's current CR info for this thread.

Constants

Name

Description

AllHandlers

Allows us to clear out all data if we disable reporting.

CritSec

Critical section ensuring thread-safe access to shared Crash Reporter state.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss