Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FGenericCrashContext
Description
Return the out-of-process crash reporter exit code if available. The exit code is available if crash reporter process died while the application it monitors was still running. Then engine periodically poll the health of the crash reporter process and try to read its exit code if it unexpectedly died.
This function is useful to try diagnose why the crash reporter died (crashed/killed/asserted) and gather data for the analytics.
| Name | GetOutOfProcessCrashReporterExitCode |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformCrashContext.h |
| Include Path | #include "GenericPlatform/GenericPlatformCrashContext.h" |
| Source | /Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformCrashContext.cpp |
static TOptional < int32 > GetOutOfProcessCrashReporterExitCode()