mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 10:25:18 +00:00
added compiler macro to disable invocation of the debugger upon failure.
This commit is contained in:
parent
00f3a1fe81
commit
e53b580cb4
|
@ -44,12 +44,16 @@ bool assertions_enabled();
|
|||
#define DEBUG_CODE(CODE) ((void) 0)
|
||||
#endif
|
||||
|
||||
#ifdef NO_Z3_DEBUGGER
|
||||
#define INVOKE_DEBUGGER() exit(ERR_INTERNAL_FATAL)
|
||||
#else
|
||||
#ifdef _WINDOWS
|
||||
#define INVOKE_DEBUGGER() __debugbreak()
|
||||
#else
|
||||
void invoke_gdb();
|
||||
#define INVOKE_DEBUGGER() invoke_gdb()
|
||||
#endif
|
||||
#endif
|
||||
|
||||
void notify_assertion_violation(const char * file_name, int line, const char * condition);
|
||||
void enable_debug(const char * tag);
|
||||
|
|
Loading…
Reference in a new issue