| FGenericCrashContext
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformCrashContext.h |
Include |
#include "GenericPlatform/GenericPlatformCrashContext.h" |
struct FGenericCrashContext
Contains a runtime crash's properties that are common for all platforms. This may change in the future.
Name | Description | ||
---|---|---|---|
|
CallStack |
||
|
CrashedThreadId |
||
|
const TCHAR ... |
ErrorMessage |
|
|
int |
NumMinidumpFramesToIgnore |
|
|
ProcessHandle |
||
|
ThreadCallStacks |
||
|
Type |
Name | Description | |
---|---|---|
|
FGenericCrashContext ( |
Default constructor. |
Name | Description | |
---|---|---|
|
~FGenericCrashContext() |
Name | Description | ||
---|---|---|---|
|
AddCrashProperty |
||
|
AddPlugin ( |
Adds a plugin descriptor string to the enabled plugins list in the crash context |
|
|
AddPortableThreadCallStack |
Adds a portable callstack for a thread |
|
|
AppendEscapedXMLString |
Escapes and appends specified text to XML string |
|
|
CapturePortableCallStack |
Generate raw call stack for crash report (image base + offset) |
|
|
CleanupPlatformSpecificFiles() |
Cleanup platform specific files - called on startup, implemented per platform |
|
|
CopyPlatformSpecificFiles |
Allows platform implementations to copy files to report directory. |
|
|
CopySharedCrashContext ( |
Initializes a shared crash context from current state. Will not set all fields in Dst. |
|
|
CreateCrashReportDirectory |
Attempts to create the output report directory. |
|
|
DumpAdditionalContext ( |
Collects additional crash context providers. See FAdditionalCrashContextStack. |
|
|
DumpLog ( |
Flushes the logs. In the case of in memory logs is used on this configuration, dumps them to file. |
|
|
const FStrin... |
GetBuffer() |
|
|
const TCHAR ... |
GetCallstackProperty() |
Allow platform implementations to provide a callstack property. |
|
const TCHAR ... |
GetCrashConfigFilePath() |
Helper to get the crash report client config filepath saved by this instance and copied to each crash report folder. |
|
const TCHAR ... |
GetCrashConfigFolder() |
Helper to get the crash report client config folder used by GetCrashConfigFilePath(). |
|
GetCrashGameName() |
Get the Game Name of the crash |
|
|
const TCHAR ... |
GetCrashTypeString ( |
Helper to get the standard string for the crash type based on crash event bool values. |
|
GetOutOfProcessCrashReporterExitCode() |
Return the out-of-process crash reporter exit code if available. |
|
|
GetOutOfProcessCrashReporterProcessId() |
||
|
GetPlatformAllThreadContextsString ( |
|
|
|
GetPortableCallStack ( |
Gets the portable callstack to a specified stack and puts it into OutCallStack |
|
|
GetTempSessionContextFilePath ( |
Get the file path to the temporary session context file that we create for the given process. |
|
|
ECrashContex... |
GetType() |
|
|
GetUniqueCrashName |
||
|
Initialize() |
Initializes crash context related platform specific data that can be impossible to obtain after a crash. |
|
|
InitializeFromContext ( |
Initialized crash context, using a crash context (e.g. shared from another process). |
|
|
const bool |
IsFullCrashDump() |
|
|
IsInitalized() |
||
|
IsOutOfProcessCrashReporter() |
||
|
PurgeOldCrashConfig() |
Helper to clean out old files in the crash report client config folder. |
|
|
ResetEngineData() |
Clears the engine data dictionary |
|
|
ResetGameData() |
Clears the game data dictionary |
|
|
SerializeAsXML ( |
Serializes crash's informations to the specified filename. |
|
|
SerializeContentToBuffer() |
Serializes all data to the buffer. |
|
|
SerializeSessionContext ( |
Serializes session context to the given buffer. |
|
|
SetCrashedProcess ( |
Sets the process id to that has crashed. |
|
|
SetCrashedThreadId ( |
Stores crashing thread id. |
|
|
SetCrashTrigger ( |
Sets the type of crash triggered. Used to distinguish crashes caused for debugging purposes. |
|
|
SetDeploymentName ( |
Set the current deployment name (ie. EpicApp) |
|
|
SetEngineData |
Updates (or adds if not already present) arbitrary engine data to the crash context (will remove the key if passed an empty string) |
|
|
SetEngineExit ( |
Notify the crash context exit has been requested. |
|
|
SetGameData |
Updates (or adds if not already present) arbitrary game data to the crash context (will remove the key if passed an empty string) |
|
|
SetMemoryStats ( |
We can't gather memory stats in crash handling function, so we gather them just before raising exception and use in crash reporting. |
|
|
SetNumMinidumpFramesToIgnore ( |
Sets the number of stack frames to ignore when symbolicating from a minidump |
|
|
SetOutOfProcessCrashReporterExitCode ( |
Set the out of process crash reporter exit code if known. |
|
|
SetOutOfProcessCrashReporterPid ( |
Set whether or not the out-of-process crash reporter is running. |
|
|
SetPortableCallStack |
Sets the portable callstack to a specified stack |
|
|
UnescapeXMLString ( |
Unescapes a specified XML string, naive implementation. |