[host] Added a crash handler to write out mini dumps
This commit is contained in:
1 parent
d450d792e3
commit
df5aa13029
3 files changed
+111
No files matched your search
@@ -22,6 +22,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#include "common\debug.h"
|
||||
#include "vendor\getopt\getopt.h"
|
||||
|
||||
#include "CrashHandler.h"
|
||||
#include "CaptureFactory.h"
|
||||
#include "Service.h"
|
||||
|
||||
@@ -47,6 +48,8 @@ struct StartupArgs
|
||||
|
||||
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdParam, int iCmdShow)
|
||||
{
|
||||
CrashHandler::Initialize();
|
||||
|
||||
struct StartupArgs args;
|
||||
ZeroMemory(&args, sizeof(struct StartupArgs));
|
||||
int ret = parseArgs(args);
|
||||
|
||||
Reference in new issue
Block a user