From ff1e0a3e2cb6619644215432604293eb7ba53699 Mon Sep 17 00:00:00 2001 From: Marcelo Fernandez Date: Mon, 18 Sep 2017 16:29:23 -0300 Subject: Prevent running the crash_handler when a debugger is present on windows --- platform/osx/crash_handler_osx.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/osx/crash_handler_osx.mm') diff --git a/platform/osx/crash_handler_osx.mm b/platform/osx/crash_handler_osx.mm index 9239573734..a8146696bc 100644 --- a/platform/osx/crash_handler_osx.mm +++ b/platform/osx/crash_handler_osx.mm @@ -77,7 +77,7 @@ static void handle_crash(int sig) { void *bt_buffer[256]; size_t size = backtrace(bt_buffer, 256); String _execpath = OS::get_singleton()->get_executable_path(); - String msg = GLOBAL_GET("debug/settings/backtrace/message"); + String msg = GLOBAL_GET("debug/settings/crash_handler/message"); // Dump the backtrace to stderr with a message to the user fprintf(stderr, "%s: Program crashed with signal %d\n", __FUNCTION__, sig); -- cgit v1.2.3