[runtime] Disable lldb backtrace display on osx, it hangs on attaching in lldb.
authorZoltan Varga <vargaz@gmail.com>
Sun, 26 Jan 2020 13:22:05 +0000 (08:22 -0500)
committerZoltan Varga <vargaz@gmail.com>
Sun, 26 Jan 2020 13:22:05 +0000 (08:22 -0500)
src/mono/mono/mini/mini-posix.c

index d3b874b..59ff549 100644 (file)
@@ -1238,8 +1238,10 @@ mono_gdb_render_native_backtraces (pid_t crashed_pid)
        }
 
 #if defined(HOST_DARWIN)
-       if (native_stack_with_lldb (crashed_pid, argv, commands_handle, commands_filename))
-               goto exec;
+       // lldb hangs on attaching on Catalina
+       return;
+       //if (native_stack_with_lldb (crashed_pid, argv, commands_handle, commands_filename))
+       //      goto exec;
 #endif
 
        if (native_stack_with_gdb (crashed_pid, argv, commands_handle, commands_filename))