Added a crash handler to dump the backtrace on Windows, Linux and OS X

This commit is contained in:
Marcelo Fernandez 2017-08-03 21:07:16 -03:00
parent 8be9e8b484
commit 60cf34b968
23 changed files with 782 additions and 13 deletions

View file

@ -64,6 +64,10 @@ Error EditorRun::run(const String &p_scene, const String p_custom_args, const Li
args.push_back("-debugnav");
}
if (OS::get_singleton()->is_disable_crash_handler()) {
args.push_back("--disable-crash-handler");
}
int screen = EditorSettings::get_singleton()->get("game_window_placement/screen");
if (screen == 0) {