Learning to Learn: GDB
GDB is a powerful tool that is underutilized by most programmers that I’ve met. It can tell you the state of one or more running or crashed programs, and even manipulate the memory of a running process. It is an invaluable tool for understanding what is going wrong with your programs. How to get started To get the most out of GDB you need to compile your program with debug information – metadata that describes the program source....