engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FCrashContext结构体 参考

Describes a unified crash, should be used by all platforms. 更多...

#include <CrashDescription.h>

+ 类 FCrashContext 继承关系图:

Public 成员函数

 FCrashContext (const FString &CrashContextFilepath)
 Initializes instance based on specified Crash Context filepath.
 
 FCrashContext (const FString &CrashContextFilepath, const TCHAR *Buffer)
 Initializes an instance based on a in memory buffer.
 
- Public 成员函数 继承自 FPrimaryCrashProperties
bool HasProcessedData () const
 Whether this crash contains callstack, error message and source context thus it means that crash is complete.
 
void Save ()
 Saves the data.
 
void SendPostUploadAnalytics ()
 Sends this crash for analytics (after successful upload).
 
void SendPreUploadAnalytics ()
 Sends this crash for analytics (before upload).
 
void UpdateIDs ()
 Updates following properties: UserName, LoginID and EpicAccountID.
 

额外继承的成员函数

- 静态 Public 成员函数 继承自 FPrimaryCrashProperties
static FPrimaryCrashProperties * Get ()
 
static bool IsValid ()
 
static void Set (FPrimaryCrashProperties *NewInstance)
 Sets new instance as the global.
 
static void Shutdown ()
 Shutdowns the global instance.
 
- Public 属性 继承自 FPrimaryCrashProperties
FString AppDefaultLocale
 The language ID the application that crashed. 更多...
 
FCrashProperty bAllowToBeContacted
 Whether the user allowed us to be contacted. 更多...
 
FString BaseDir
 The base directory where the app was running. 更多...
 
bool bHasLogFile
 Whether this crash has a log file. 更多...
 
bool bHasMiniDumpFile
 Whether this crash has a minidump file. 更多...
 
bool bHasPrimaryData
 Whether this crash contains primary usable data.
 
bool bInBackground
 Whether we were in the background when the crash happened
 
bool bIsEnsure
 Whether the report comes from a non-fatal event such as an ensure
 
bool bIsOOM
 Whether it was an OOM or not
 
bool bIsRequestingExit
 Whether we crashed during shutdown
 
bool bLowMemoryWarning
 Whether we got a low memory warning or not
 
FCrashProperty CallStack
 An array of FStrings representing the callstack of the crash. 更多...
 
FCrashProperty CommandLine
 The command line of the application that crashed. 更多...
 
FCrashProperty CPUBrand
 The cpu brand of the device, e.g. 更多...
 
ECrashDumpMode CrashDumpMode
 Crash dump mode.
 
FString CrashGUID
 An unique report name that this crash belongs to. 更多...
 
FCrashProperty CrashReportClientVersion
 CRC sets this to the current version of the software.
 
FCrashProperty CrashReporterMessage
 Rich text string (should be localized by the crashing application) that will be displayed in the main CRC dialog Can be empty and the CRC's default text will be shown.
 
FString CrashType
 The type of crash being reported, e.g. 更多...
 
ECrashDescVersions CrashVersion
 Version.
 
FString DeploymentName
 Deployment (also known as "EpicApp"), e.g. 更多...
 
FString EngineMode
 The mode the game was in e.g. 更多...
 
FCrashProperty EngineModeEx
 EngineModeEx e.g. 更多...
 
FEngineVersion EngineVersion
 Encoded engine version. 更多...
 
FCrashProperty EpicAccountId
 The Epic account ID for the user who last used the Launcher. 更多...
 
FCrashProperty ErrorMessage
 The error message, can be assertion message, ensure message or message from the fatal error. 更多...
 
FString ExecutableName
 The name of the exe that crashed. 更多...
 
FCrashProperty FullCrashDumpLocation
 Location of full crash dump. 更多...
 
FString GameName
 The name of the game that crashed. 更多...
 
FCrashProperty GameSessionID
 The last game session id set by the application. 更多...
 
FCrashProperty LoginId
 The unique ID used to identify the machine the crash occurred on. 更多...
 
FCrashProperty Modules
 An array of module's name used by the game that crashed.
 
int32 NumMinidumpFramesToIgnore
 Specifies the number of stack frames in the callstack to ignore when symbolicating from a minidump.
 
FCrashProperty PlatformCallbackResult
 Platform-specific UE4 Core value (integer).
 
FCrashProperty PlatformFullName
 The platform that crashed e.g. 更多...
 
FCrashPropertyXmlNode PlatformPropertiesExtras
 Optional additional data for platform properties
 
FString RestartCommandLine
 Copy of CommandLine that isn't anonymized so it can be used to restart the process
 
FCrashProperty SourceContext
 An array of FStrings showing the source code around the crash. 更多...
 
FCrashPropertyXmlNode Threads
 Thread contexts, XML elements containing info specific to an active thread, e.g. 更多...
 
FCrashProperty TimeOfCrash
 The UTC time the crash occurred. 更多...
 
FCrashProperty UserActivityHint
 An FString representing the user activity, if known, when the error occurred. 更多...
 
FCrashProperty UserDescription
 An array of FStrings representing the user description of the crash. 更多...
 
FCrashProperty UserName
 The name of the user that caused this crash. 更多...
 
- Protected 成员函数 继承自 FPrimaryCrashProperties
FString EncodeArrayStringAsXMLString (const TArray< FString > &ArrayString) const
 Encodes multi line property to be saved as single line.
 
 FPrimaryCrashProperties ()
 Default constructor.
 
template<typename Type >
void GetCrashProperty (Type &out_ReadValue, const FString &MainCategory, const FString &SecondCategory) const
 Gets a crash property from the XML file.
 
void ReadXML (const FString &CrashContextFilepath, const TCHAR *Buffer=nullptr)
 Reads previously set XML file. 更多...
 
void SetCrashGUID (const FString &Filepath)
 Sets the CrasgGUID based on the report's path.
 
void SetCrashProperty (const FString &MainCategory, const FString &SecondCategory, const FString &NewValue)
 Sets a crash property to a new value.
 
void SetCrashProperty (const FString &MainCategory, const FString &SecondCategory, const FXmlNode *NewNode)
 Sets a crash property to a new value.
 
template<typename Type >
void SetCrashProperty (const FString &MainCategory, const FString &SecondCategory, const Type &Value)
 Sets a crash property to a new value.
 
 ~FPrimaryCrashProperties ()
 Destructor.
 
- Protected 属性 继承自 FPrimaryCrashProperties
FXmlFile * XmlFile
 Reader for the xml file.
 
FString XmlFilepath
 Cached filepath.
 
- 静态 Protected 属性 继承自 FPrimaryCrashProperties
static FPrimaryCrashProperties * Singleton
 Global instance.
 

详细描述

Describes a unified crash, should be used by all platforms.

Based on FGenericCrashContext, reads all saved properties, accessed by looking into read XML. Still lacks some of the properties, they will be added later. Must contain the same properties as ...\CrashReportServer\CrashReportCommon\CrashDescription.cs. Contains all usable information about the crash.


该结构体的文档由以下文件生成: