Files
UnrealEngineUWP/Engine/Source/Developer/CrashDebugHelper/Private/Mac/CrashDebugHelperMac.cpp
2014-03-14 14:13:41 -04:00

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;
}