5.2: Testing and Debugging
Read this section, as well as the one on Coverage Analysis, to learn more about the basics of software testing.
Learning to debug is an essential skill for any programming language. Knowing how to search your code for bugs, walk through the program's interpretation, and examine the variable manipulation is an essential part of debugging. Learn how to use the tools built into the Eclipse environment to debug your program. Though this video refers to Java, debugging C++ in Eclipse works similarly.
Read this explanation of debugging, and use it as you walk through coding and debugging your own programs. This tutorial also refers to Java, but debugging in C++ works in the same way.