mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 09:02:06 +00:00
ENH: debug: set the crash dump to SetUnhandledExceptionFilter
AddVectoredExceptionHandler is too heavy now Change-Id: I354a023723d16cfa5d20c282bb6d98773dcde74f (cherry picked from commit c213904026960ebbc6621aa5413ad944af13cb97)
This commit is contained in:
@@ -3006,7 +3006,8 @@ extern "C" {
|
||||
#if BBL_RELEASE_TO_PUBLIC
|
||||
SET_DEFULTER_HANDLER();
|
||||
#else
|
||||
AddVectoredExceptionHandler(1, CBaseException::UnhandledExceptionFilter);
|
||||
//AddVectoredExceptionHandler(1, CBaseException::UnhandledExceptionFilter);
|
||||
SET_DEFULTER_HANDLER();
|
||||
#endif
|
||||
// Call the UTF8 main.
|
||||
return CLI().run(argc, argv_ptrs.data());
|
||||
|
||||
Reference in New Issue
Block a user