Glossary of Terms

Debugging Techniques

Keyword Definition
Assertion A statement in the code that checks if a given condition is true and throws an error if it is false, helping identify logical errors.
Binary Search A searching algorithm that divides a sorted array or list into halves, discarding the half that's known to not contain the target element.
Breakpoint A line of code that marks a specific point in the program where execution will pause for debugging purposes.
Code Review The process of manually examining source code to identify bugs, improve code quality, and share knowledge among team members.
Debugging The process of finding and fixing errors or bugs in a program.
Logging The practice of inserting messages or information into the program's output during execution for debugging or monitoring purposes.
Memory Dump A snapshot of a program's memory state at a particular point in time, allowing for inspection of variables and data structures.
Stack Trace A report that displays the sequence of function calls that led to the current point of execution in a program.
Stepping The process of executing a program one line or instruction at a time, allowing for detailed inspection and analysis of its behavior.
Tracing The act of recording the execution flow of a program, including function calls and parameter values, for debugging and analysis.
Variable Watch A feature in debugging tools that allows programmers to monitor the value of specific variables as the program executes.