Skip to content

Commit

Permalink
fixup: assertion is not continuable
Browse files Browse the repository at this point in the history
it is but you have to jump through hoops. this is simpler too.
  • Loading branch information
ThisAMJ committed Sep 24, 2024
1 parent 2cf374a commit e3c0be2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utils/Memory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ uintptr_t Memory::Scan(const char *moduleName, const char *pattern, int offset)
#ifdef SAR_DEV_BUILD
// handy for debugging
#ifdef _WIN32
RaiseException(STATUS_ASSERTION_FAILURE, EXCEPTION_CONTINUE_EXECUTION, 0, nullptr);
DebugBreak();
#else
raise(SIGTRAP);
#endif
Expand Down

0 comments on commit e3c0be2

Please sign in to comment.