mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 08:17:51 -06: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:
parent
716f4a9b5c
commit
2c620aa855
1 changed files with 2 additions and 1 deletions
|
@ -3006,7 +3006,8 @@ extern "C" {
|
||||||
#if BBL_RELEASE_TO_PUBLIC
|
#if BBL_RELEASE_TO_PUBLIC
|
||||||
SET_DEFULTER_HANDLER();
|
SET_DEFULTER_HANDLER();
|
||||||
#else
|
#else
|
||||||
AddVectoredExceptionHandler(1, CBaseException::UnhandledExceptionFilter);
|
//AddVectoredExceptionHandler(1, CBaseException::UnhandledExceptionFilter);
|
||||||
|
SET_DEFULTER_HANDLER();
|
||||||
#endif
|
#endif
|
||||||
// Call the UTF8 main.
|
// Call the UTF8 main.
|
||||||
return CLI().run(argc, argv_ptrs.data());
|
return CLI().run(argc, argv_ptrs.data());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue