engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | 所有成员列表
FWindowsErrorReport类 参考

Helper that works with Windows Error Reports 更多...

#include <WindowsErrorReport.h>

+ 类 FWindowsErrorReport 继承关系图:

Public 成员函数

FText DiagnoseReport () const
 Provide the exception and a call-stack as plain text if possible 更多...
 
FString FindCrashedAppPath () const
 Get the full path of the crashed app from the report
 
 FWindowsErrorReport ()
 Default constructor: creates a report with no files
 
 FWindowsErrorReport (const FString &Directory)
 Discover all files in the crash report directory 更多...
 
- Public 成员函数 继承自 FGenericErrorReport
void DeleteFiles ()
 Delete files from disk
 
 FGenericErrorReport ()
 Default constructor: creates a report with no files
 
 FGenericErrorReport (const FString &Directory)
 Discover all files in the crash report directory 更多...
 
FString FindCrashedAppName () const
 Get the name of the crashed app from the report
 
FString FindCrashedAppPath () const
 Get the full path of the crashed app from the report
 
bool FindFirstReportFileWithExtension (FString &OutFilename, const TCHAR *Extension) const
 Look thought the list of report files to find one with the given extension 更多...
 
TArray< FString > GetFilesToUpload () const
 Provide full paths to all the report files 更多...
 
FString GetReportDirectory () const
 Provide the full path of the error report directory
 
FString GetReportDirectoryLeafName () const
 Provide the name of the error report directory
 
bool HasFilesToUpload () const
 Is there anything to upload?
 
bool LoadWindowsReportXmlFile (FString &OutString) const
 Load the WER XML file for this report 更多...
 
void SetCrashReportClientVersion (const FString &InVersion)
 Sets the version string in the error report and saves the change
 
void SetPrimaryCrashProperties (FPrimaryCrashProperties &out_PrimaryCrashProperties)
 Sets properties specific to the processed crash. 更多...
 
bool SetUserComment (const FText &UserComment)
 Write the provided comment into the error report 更多...
 
bool TryReadDiagnosticsFile ()
 

静态 Public 成员函数

static void FindMostRecentErrorReports (TArray< FString > &ErrorReportPaths, const FTimespan &MaxCrashReportAge)
 Look for the most recent Windows Error Reports 更多...
 
static void Init ()
 Load helper modules
 
static void ShutDown ()
 Unload helper modules
 
- 静态 Public 成员函数 继承自 FGenericErrorReport
static void Init ()
 One-time initialisation: does nothing by default
 
static void ShutDown ()
 One-time clean-up: does nothing by default
 

额外继承的成员函数

- Protected 属性 继承自 FGenericErrorReport
bool bValidCallstack
 Whether the error report generated an valid callstack.
 
FString ReportDirectory
 Full path to the directory the report files are in
 
TArray< FString > ReportFilenames
 List of leaf filenames of all the files in the report folder
 

详细描述

Helper that works with Windows Error Reports

构造及析构函数说明

◆ FWindowsErrorReport()

FWindowsErrorReport::FWindowsErrorReport ( const FString &  Directory)
explicit

Discover all files in the crash report directory

参数
DirectoryFull path to directory containing the report

成员函数说明

◆ DiagnoseReport()

FText FWindowsErrorReport::DiagnoseReport ( ) const

Provide the exception and a call-stack as plain text if possible

注解
This can take quite a long time

◆ FindMostRecentErrorReports()

static void FWindowsErrorReport::FindMostRecentErrorReports ( TArray< FString > &  ErrorReportPaths,
const FTimespan &  MaxCrashReportAge 
)
static

Look for the most recent Windows Error Reports

返回
Full path to the most recent report, or an empty string if none found

该类的文档由以下文件生成: