Navigation
Unreal Engine C++ API Reference > Runtime > Core > Unix
Inheritance Hierarchy
- FGenericCrashContext
- FUnixCrashContext
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Unix/UnixPlatformCrashContext.h |
Include | #include "Unix/UnixPlatformCrashContext.h" |
Syntax
struct FUnixCrashContext : public FGenericCrashContext
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
char ** | BacktraceSymbols | Symbols received via backtrace_symbols(), if any (note that we will need to clean it up) |
![]() |
bool | bCapturedBacktrace | Whether backtrace was already captured |
![]() |
ucontext_t * | Context | Thread context |
![]() |
void * | ErrorFrame | The PC of where the error being reported occurred. |
![]() |
uint64 * | FirstCrashHandlerFrame | The PC of the first function used when handling a crash. |
![]() |
siginfo_t * | Info | Additional signal info |
![]() |
char[16384] | MinidumpCallstackInfo | Memory reserved for minidump-style callstack info |
![]() |
int32 | Signal | Signal number |
![]() |
TCHAR[256] | SignalDescription | Memory reserved for "exception" (signal) info |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FUnixCrashContext
(
ECrashContextType InType, |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | CaptureStackTrace
(
void* ErrorProgramCounter |
Populates crash context stack trace and a few related fields for the calling thread |
![]() |
void | CaptureThreadStackTrace
(
uint32_t ThreadId |
Populates crash context stack trace and a few related fields for another thread |
![]() ![]() |
void | Generates a new crash report containing information needed for the crash reporter and launches it; may not return. | |
![]() ![]() |
void | GenerateReport
(
const FString& DiagnosticsPath |
Dumps all the data from crash context to the "minidump" report. |
![]() |
void | InitFromDiagnostics
(
const void* InAddress |
Inits the crash context from some diagnostic handler (ensure, stall, etc...) |
![]() |
void | InitFromSignal
(
int32 InSignal, |
Inits the crash context from data provided by a signal handler. |
![]() |
void | SetFirstCrashHandlerFrame
(
uint64* ProgramCounter |
Sets the FirstCrashHandlerFrame only if it has not been set before |
![]() |
void | SetType
(
ECrashContextType InType |
Sets whether this crash represents a non-crash event like an ensure |
Overridden from FGenericCrashContext
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
void | Serializes platform specific properties to the buffer. | |
![]() ![]() ![]() |
void | GetPortableCallStack
(
const uint64* StackFrames, |
Gets the portable callstack to a specified stack and puts it into OutCallStack |
Constants
Name | Description |
---|---|
FakeSiginfoForDiagnostics | Fake siginfo used when handling ensure(), etc |