1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

CrashCatch test

This commit is contained in:
Brian Fiete 2019-09-26 08:25:15 -07:00
parent ad1ba70fdd
commit 1e8004981f

View file

@ -13,6 +13,11 @@
#include "BeefySysLib/util/HashSet.h"
#include "BeefySysLib/util/MultiHashSet.h"
//#define TEST_CRASH
#ifdef TEST_CRASH
#include "CrashCatcher.h"
#endif
//#include <mmsystem.h>
//#include <shellapi.h>
//#include <Objbase.h>
@ -28,6 +33,12 @@ BF_IMPORT void BF_CALLTYPE Debugger_ProgramDone();
int main(int argc, char* argv[])
{
#ifdef TEST_CRASH
CrashCatcher catcher;
catcher.SetCrashReportKind(BfpCrashReportKind_GUI);
catcher.Test();
#endif
BfpSystem_SetCommandLine(argc, argv);
BfpThread_SetName(NULL, "MainThread", NULL);