GCC Debugging

From Wikibooks, open books for an open world
Jump to: navigation, search

This is intended to be a reference/guidebook for those learning to debug code used with the GCC (GNU Compiler Collection).

GCC Debugging/Draft

Tools[edit]

  • g++ (C++ compiler frontend)
  • gdb (GNU Project Debugger)

Errors and Warnings[edit]

Making sense of error and warning messages.

Errors

  • these will keep your code from compiling

Warnings

  • these indicate areas of code that may cause problems, but won't necessarily break your program

Websites[edit]

Windows Versions