Add an OS.crash() method for testing system crash handler
This makes it possible to test the system's crash handler without having to modify engine code or exploit an engine bug.
This commit is contained in:
parent
ea66ea9060
commit
5761b90f3c
3 changed files with 14 additions and 1 deletions
|
|
@ -161,6 +161,7 @@ public:
|
|||
int get_low_processor_usage_mode_sleep_usec() const;
|
||||
|
||||
void alert(const String &p_alert, const String &p_title = "ALERT!");
|
||||
void crash(const String &p_message);
|
||||
|
||||
String get_executable_path() const;
|
||||
int execute(const String &p_path, const Vector<String> &p_arguments, Array r_output = Array(), bool p_read_stderr = false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue