ENH: debug: when not release to public, use vectored exception handler

Change-Id: I2f80f07e035d6a6652574470ac13631baba7cf7d
This commit is contained in:
lane.wei 2023-01-01 21:06:09 +08:00 committed by Lane.Wei
parent c75ca06f01
commit 8183b7d333

View file

@ -2603,7 +2603,7 @@ extern "C" {
argv_ptrs[i] = argv_narrow[i].data();
//BBS: register default exception handler
#if 1
#if BBL_RELEASE_TO_PUBLIC
SET_DEFULTER_HANDLER();
#else
AddVectoredExceptionHandler(1, CBaseException::UnhandledExceptionFilter);