UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FCrashReportingThread Class Reference

Public Member Functions

 FCrashReportingThread ()
 
FORCENOINLINE ~FCrashReportingThread ()
 
void RegisterUnhandledExceptionHandler ()
 
void RegisterAbortSignalHandler ()
 
DWORD GetReporterThreadId () const
 
FORCEINLINE int32 OnContinuableEvent (ECrashContextType InType, LPEXCEPTION_POINTERS InExceptionInfo, HANDLE InThreadHandle, uint32 InThreadId, void *ProgramCounter, const TCHAR *ErrorMessage, EErrorReportUI ReportUI)
 
FORCEINLINE void OnCrashed (LPEXCEPTION_POINTERS InExceptionInfo)
 
FORCEINLINE bool WaitUntilCrashIsHandled ()
 
FORCEINLINE int32 OnCrashDuringStaticInit (LPEXCEPTION_POINTERS InExceptionInfo)
 

Detailed Description

Crash reporting thread. We process all the crashes on a separate thread in case the original thread's stack is corrupted (stack overflow etc). We're using low level API functions here because at the time we initialize the thread, nothing in the engine exists yet.

Constructor & Destructor Documentation

◆ FCrashReportingThread()

FCrashReportingThread::FCrashReportingThread ( )
inline

◆ ~FCrashReportingThread()

FORCENOINLINE FCrashReportingThread::~FCrashReportingThread ( )
inline

Member Function Documentation

◆ GetReporterThreadId()

DWORD FCrashReportingThread::GetReporterThreadId ( ) const
inline

◆ OnContinuableEvent()

FORCEINLINE int32 FCrashReportingThread::OnContinuableEvent ( ECrashContextType  InType,
LPEXCEPTION_POINTERS  InExceptionInfo,
HANDLE  InThreadHandle,
uint32  InThreadId,
void ProgramCounter,
const TCHAR ErrorMessage,
EErrorReportUI  ReportUI 
)
inline

Ensures and Stalls are passed through this.

◆ OnCrashDuringStaticInit()

FORCEINLINE int32 FCrashReportingThread::OnCrashDuringStaticInit ( LPEXCEPTION_POINTERS  InExceptionInfo)
inline

Crashes during static init should be reported directly to crash monitor.

◆ OnCrashed()

FORCEINLINE void FCrashReportingThread::OnCrashed ( LPEXCEPTION_POINTERS  InExceptionInfo)
inline

The thread that crashed calls this function which will trigger the CR thread to report the crash

◆ RegisterAbortSignalHandler()

void FCrashReportingThread::RegisterAbortSignalHandler ( )
inline

◆ RegisterUnhandledExceptionHandler()

void FCrashReportingThread::RegisterUnhandledExceptionHandler ( )
inline

◆ WaitUntilCrashIsHandled()

FORCEINLINE bool FCrashReportingThread::WaitUntilCrashIsHandled ( )
inline

The thread that crashed calls this function to wait for the report to be generated


The documentation for this class was generated from the following file: