Chapter 4 Key Terms Flashcards
Break mode
The temporary suspension of program execution in a browser so the programmer can monitor values and trace program execution.
Breakpoint
A designation added to a specific statement in a program that causes program execution to pause when it reaches that statement.
Bug
Any error in a program that causes it to function incorrectly, whether because of incorrect syntax or flaws in logic.
Bulletproofing
Writing code that anticipates and handles potential problems.
Call Stack
The ordered list maintained by a JavaScript processor containing all the procedures, such as functions, methods, or event handlers, that have been called but have not yet finished processing.
Commenting out
A debugging technique in which program errors are located by changing potentially incorrect program code to comments.
Debugging
The act of tracing and resolving program errors.
Dependencies
The relationships that exist when statements depend on the successful execution of other statements or functions.
Driver program
A simplified, temporary program that is used for testing functions and other code.
Event Listener breakpoint
A breakpoint that is activated when an event occurs within the web page or browser.
Exception
An error that occurs in the execution of a program.
Exception handling
A method of bulletproofing code that allows a program to handle errors as they occur in the execution of the program.
Linting
The process of running code through a program that flags common issues that may affect code quality and performance.
Load-time error
An error that occurs when the program is initially loaded by the browser.
Logging
A debugging technique that involves writing values directly to the browser console.