The GNU Debugger (gdb) is a the most common debugger and debugging engine for Unix, C, C++, Assembly and many other languages.
USF Simple Guide
Beej’s Quick Guide to GDB