Debugging and Testing - HTML5 APPLICATIONS DEVELOPMENT MANUAL (2016)

HTML5 APPLICATIONS DEVELOPMENT MANUAL (2016)

7 - Debugging and Testing

All apps must be thoroughly tested and debugged to ensure they run reliably and as error free as possible before distribution and deployment.

Debugging is the process of detecting, finding, and correcting errors in logic and syntax

- Logic errors prevent the app from behaving as expected

- Syntax errors are typos in code which prevent Web apps from running

Testing and debugging code is a standard part of app development, and most tools like Visual Studio have debugging features built in to the software. Some errors are easy to detect and fix, whereas others can require hours or even days to resolve, depending on the complexity of the application.