Helper that works with Windows Error Reports 更多...
#include <GenericErrorReport.h>
类 FGenericErrorReport 继承关系图:Public 成员函数 | |
| 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 | Init () |
| One-time initialisation: does nothing by default | |
| static void | ShutDown () |
| One-time clean-up: does nothing by default | |
Protected 属性 | |
| 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
|
explicit |
Discover all files in the crash report directory
| Directory | Full path to directory containing the report |
| bool FGenericErrorReport::FindFirstReportFileWithExtension | ( | FString & | OutFilename, |
| const TCHAR * | Extension | ||
| ) | const |
Look thought the list of report files to find one with the given extension
Provide full paths to all the report files
| bool FGenericErrorReport::LoadWindowsReportXmlFile | ( | FString & | OutString | ) | const |
Load the WER XML file for this report
| OutString | String to load the file into |
| void FGenericErrorReport::SetPrimaryCrashProperties | ( | FPrimaryCrashProperties & | out_PrimaryCrashProperties | ) |
Sets properties specific to the processed crash.
Used to convert the old data into the crash context format.
| bool FGenericErrorReport::SetUserComment | ( | const FText & | UserComment | ) |
Write the provided comment into the error report
| UserComment | Information provided by the user to add to the report |
| bool FGenericErrorReport::TryReadDiagnosticsFile | ( | ) |