cgdb

Curses-based interface to the GNU Debugger with source code view

brewmacoslinux
Try with needOr install directly
Source

About

Curses-based interface to the GNU Debugger

Commands

cgdb

Examples

Debug a compiled executable$ cgdb ./myprogram
Debug a program with arguments$ cgdb --args ./myprogram arg1 arg2
Attach to a running process$ cgdb -p 1234