mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 02:37:51 -06:00
ENH: debug: when not release to public, use vectored exception handler
Change-Id: I2f80f07e035d6a6652574470ac13631baba7cf7d
This commit is contained in:
parent
c75ca06f01
commit
8183b7d333
1 changed files with 1 additions and 1 deletions
|
@ -2603,7 +2603,7 @@ extern "C" {
|
||||||
argv_ptrs[i] = argv_narrow[i].data();
|
argv_ptrs[i] = argv_narrow[i].data();
|
||||||
|
|
||||||
//BBS: register default exception handler
|
//BBS: register default exception handler
|
||||||
#if 1
|
#if BBL_RELEASE_TO_PUBLIC
|
||||||
SET_DEFULTER_HANDLER();
|
SET_DEFULTER_HANDLER();
|
||||||
#else
|
#else
|
||||||
AddVectoredExceptionHandler(1, CBaseException::UnhandledExceptionFilter);
|
AddVectoredExceptionHandler(1, CBaseException::UnhandledExceptionFilter);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue