This web content provides a quick guide on how to use the GNU Debugger, gdb, from the command line in a terminal. The tutorial is aimed at those who prefer not to use IDEs and covers topics such as compiling with debugging information, starting the debugger, setting breakpoints, stepping through code, examining variables, and more. It also mentions additional features like stack manipulation, different stepping methods, hardware watchpoints, attaching to a running process, and changing variables and values at runtime. The author suggests checking out the official GDB documentation for more information.
https://beej.us/guide/bggdb/