Logging, Debugging, and Testing

  • Colin J. Ihrig


Production code, in any language, must have a certain polish that is lacking in toy or academic programs. This chapter explores the topics of logging, debugging, and testing, which will increase code quality while reducing the time required to diagnose and fix bugs. By logging useful information and errors, you can more easily fix bugs once they appear. A debugger is a critical tool in any programmer’s toolbelt, as it allows code to be explored with a fine-toothed comb, inspecting variables and finding bugs. Finally, testing is the process of systematically identifying bugs in computer programs. This chapter looks at several prominent modules and frameworks used for logging, debugging, and testing.



Copyright information

© Colin J. Ihrig 2013

Authors and Affiliations

  • Colin J. Ihrig
    • 1
  1. 1.PAUS

Personalised recommendations