From 83fe9373621ab9f7e175a43868b2eda935107539 Mon Sep 17 00:00:00 2001 From: Marcelo Fernandez Date: Thu, 7 Sep 2017 22:01:49 -0300 Subject: Added a crash handler to dump the backtrace on Windows, Linux and OS X --- editor/editor_run.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'editor/editor_run.cpp') diff --git a/editor/editor_run.cpp b/editor/editor_run.cpp index e377fa1a8..90cbabcc4 100644 --- a/editor/editor_run.cpp +++ b/editor/editor_run.cpp @@ -72,6 +72,10 @@ Error EditorRun::run(const String &p_scene, const String p_custom_args, const Li screen--; } + if (OS::get_singleton()->is_disable_crash_handler()) { + args.push_back("--disable-crash-handler"); + } + Rect2 screen_rect; screen_rect.position = OS::get_singleton()->get_screen_position(screen); screen_rect.size = OS::get_singleton()->get_screen_size(screen); -- cgit v1.2.3-70-g09d2