Hour 7Debugging Tools

Programs are easy to write. Writing correct programs is a different story. Locating program bugs can be difficult. When you are working with tools that compile or interpret your programs, debugging tools are built in to the compilation or interpretation process, which makes your life much easier. Although the compiler or interpreter locates syntax errors for you, locating logic errors often takes extra time, 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 need to locate the problem as quickly as possible.

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

Get Sams Teach Yourself Beginning Programming in 24 Hours, 4th 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.