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:
lane.wei 2023-05-23 15:04:43 +08:00 committed by Lane.Wei
parent 716f4a9b5c
commit 2c620aa855
1 changed files with 2 additions and 1 deletions

View File

@ -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());