Once we get our projects to a place where we can run them, we will begin testing the software, looking for errors, and attempting to find solutions to correct these errors. Debugging is the name given to the process of finding and getting rid of the problems in our software. This process can be accomplished in numerous ways, from simple console warnings to using far more elaborate software. We will go over all the options we have with the Visual Studio and Unity setup.
The primary categories of errors that occur can be broken down into the following:
- Syntax errors: These types of bugs do not affect us in the testing phase because if they occur, we cannot test; the application will not run at all.
- Logic errors: Infinite loops, index out of range errors.
- Arithmetic errors: In my mind, this is a subcategory of logic errors. When the math is wrong, the application will behave erratically and it...