Error Handling and Debugging
Matt Frisbie
Abstract
Matt Frisbie
Abstract
JavaScript has traditionally been known as one of the most difficult programming languages to debug because of its dynamic nature and years without proper development tools. Armed with the proper language support and development tools, web developers are empowered to implement proper error-handling processes and figure out the cause of problems. Before JavaScript debuggers were readily available, developers had to use creative methods to debug their code. This led to the placement of code specifically designed to output debugging information in one or more ways. Most browsers do not report JavaScript errors to users by default, so developers need to enable error reporting when developing and debugging. The most common debugging technique was to insert alerts throughout the code in question, which was both tedious, because it required cleanup after the code was debugged, and annoying if an alert was mistakenly left in code that was used in a production environment.
A significance statement is not available in the OpenAlex record.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
JavaScript has traditionally been known as one of the most difficult programming languages to debug because of its dynamic nature and years without proper development tools. Armed with the proper language support and development tools, web developers are empowered to implement proper error-handling processes and figure out the cause of problems. Before JavaScript debuggers were readily available, developers had to use creative methods to debug their code. This led to the placement of code specifically designed to output debugging information in one or more ways. Most browsers do not report JavaScript errors to users by default, so developers need to enable error reporting when developing and debugging. The most common debugging technique was to insert alerts throughout the code in question, which was both tedious, because it required cleanup after the code was debugged, and annoying if an alert was mistakenly left in code that was used in a production environment.
Key concepts: Debugging, JavaScript, Computer science, Programming language, Algorithmic program debugging, Code (set theory), Software engineering, Web application