11 This document and contributions to this document are licensed to the DragonFly BSD project under the [C Book License](DragonFly_BSD_License]]. For all other use, please observe the [[/C_Book_License); the DragonFly BSD license does not apply to this external usage. The "DragonFly BSD project" is defined as the collective of individuals who would use this information to better their understanding of the DragonFly BSD operating system. \r

65 The GDB (GNU Debugger) gives you the facility to control and examine your program while runtime and after a crash. To compile a program with debugging information, add the compiler flag '-g', be sure to omit optimization flags. \r

81 Errors in allocating and deallocating memory in C can lead to strange behaviour of the program. Crashes can occur, a memory leak can degrade system performance and even a heap overflow can threaten the system. \r

91 ElectricFence (http://perens.com/FreeSoftware/ElectricFence/) by Bruce Perens can spot overruns of boundaries of memory chunks and read and write access to memory chunks that have been released already. \r