GNU Debugger


The GNU Debugger (GDB) is a powerful debugging tool used to debug programs written in various programming languages such as C, C++, and Fortran.

  • GNU Project maintains GDB as open-source software
  • allows debugging both user-space and kernel-space programs
  • can analyze the behavior of applications by:
    • inspecting memory
    • viewing the stack trace
    • and tracking application source code
  • allows users to modify the application’s source code while debugging to manipulate its operation
  • can debug Linux, Mac OS X, and Windows programs
  • compatible with several compilers such as GCC, Clang, and Visual Studio