You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
57 lines
1.3 KiB
C++
57 lines
1.3 KiB
C++
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "CrashDebugHelperPrivatePCH.h"
|
|
#include "Database.h"
|
|
|
|
|
|
#include "ISourceControlModule.h"
|
|
|
|
FCrashDebugHelperMac::FCrashDebugHelperMac()
|
|
{
|
|
}
|
|
|
|
FCrashDebugHelperMac::~FCrashDebugHelperMac()
|
|
{
|
|
}
|
|
|
|
bool FCrashDebugHelperMac::ParseCrashDump(const FString& InCrashDumpName, FCrashDebugInfo& OutCrashDebugInfo)
|
|
{
|
|
if (bInitialized == false)
|
|
{
|
|
UE_LOG(LogCrashDebugHelper, Warning, TEXT("ParseCrashDump: CrashDebugHelper not initialized"));
|
|
return false;
|
|
}
|
|
|
|
//if (ParseCrashDump_Mac(*InCrashDumpName, OutCrashDebugInfo) == true)
|
|
{
|
|
return true;
|
|
}
|
|
|
|
return false;
|
|
}
|
|
|
|
bool FCrashDebugHelperMac::SyncAndDebugCrashDump(const FString& InCrashDumpName)
|
|
{
|
|
if (bInitialized == false)
|
|
{
|
|
UE_LOG(LogCrashDebugHelper, Warning, TEXT("SyncAndDebugCrashDump: CrashDebugHelper not initialized"));
|
|
return false;
|
|
}
|
|
|
|
FCrashDebugInfo CrashDebugInfo;
|
|
|
|
// Parse the crash dump if it hasn't already been...
|
|
if (ParseCrashDump(InCrashDumpName, CrashDebugInfo) == false)
|
|
{
|
|
UE_LOG(LogCrashDebugHelper, Warning, TEXT("SyncAndDebugCrashDump: Failed to parse crash dump %s"), *InCrashDumpName);
|
|
return false;
|
|
}
|
|
|
|
return true;
|
|
}
|
|
|
|
bool FCrashDebugHelperMac::CreateMinidumpDiagnosticReport( const FString& InCrashDumpName )
|
|
{
|
|
return true;
|
|
}
|