Clion 2021.1.1 on MacOS Big Sur 11.3.1 cannot launch gdb.

when launch gdb for debugging which said: process finished with exit code 134 (interrupted by signal 6: sigabrt), in console I can see that:
GNU gdb (GDB; JetBrains IDE bundle; build 78) 10.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin19.6.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
/opt/buildAgent/work/5ac894c7aeda3168/gdb/gdb/thread.c:95: internal-error: struct thread_info *inferior_thread(): Assertion `current_thread_ != nullptr' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) [answered Y; input not from terminal]
This is a bug, please report it. For instructions, see:
<https://www.gnu.org/software/gdb/bugs/>.
/opt/buildAgent/work/5ac894c7aeda3168/gdb/gdb/thread.c:95: internal-error: struct thread_info *inferior_thread(): Assertion `current_thread_ != nullptr' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) [answered Y; input not from terminal]
I tried to reinstall Clion and other versions of Clion but nothing changed. Please help me, thanks.
Please sign in to leave a comment.
Unfortunately, GDB does not work reliably on macOS (see, for example https://youtrack.jetbrains.com/issue/CPP-14546). Please use LLDB.