Hour 7. Debugging Tools

Programs are easy to write. Correct programs are a different story. Locating program bugs can be difficult. When you are working with tools that compile or interpret your programs, debugging tools will be built in to the compilation or interpretation process, making your life much easier. Although the compiler or interpreter locates syntax errors for you, logic errors often take extra time to locate, and you must be the one to locate such problems before your users locate the problems. For example, when a payroll amount comes out incorrectly due to a bug, you will need to locate the problem as soon as possible.

Although your debugging skills will improve as your programming skills improve, you can help reduce bugs that ...

Get Beginning Programming in 24 Hours, Sams Teach Yourself, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.