mirror of
https://github.com/Z3Prover/z3
synced 2025-06-19 12:23:38 +00:00
Allow setting a default debug action
Helps avoiding user interaction when running a batch of unit tests.
This commit is contained in:
parent
eaf38abf17
commit
1d805807e9
2 changed files with 60 additions and 18 deletions
|
@ -24,6 +24,17 @@ Revision History:
|
|||
void enable_assertions(bool f);
|
||||
bool assertions_enabled();
|
||||
|
||||
enum class debug_action {
|
||||
ask,
|
||||
cont,
|
||||
abort,
|
||||
stop,
|
||||
throw_exception,
|
||||
invoke_debugger,
|
||||
};
|
||||
debug_action get_default_debug_action();
|
||||
void set_default_debug_action(debug_action a);
|
||||
|
||||
#include "util/error_codes.h"
|
||||
#include "util/warning.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue