gdb installation
Mac terminal and type:
brew update brew search gdb brew install gdb
gdb using:
After installation, the input gdb, gdb program interface into the
File file_path // load executable file RUN file_path // run the executable file
If your Mac is running on gdb installation problems, the solution:
https://blog.csdn.net/github_33873969/article/details/78511733