The Debug Adapter Protocol standardises communication between editors and ___, which handle the language-specific debugging logic.
A debug adapter translates generic DAP messages (set breakpoint, step over) into language-specific debugger commands (GDB, LLDB, Node.js inspector). One editor (VS Code) can debug any language through DAP-compatible adapters.
2 / 5
A ___ breakpoint pauses execution at a specific source code location when reached during program execution.
A source breakpoint (line breakpoint) halts execution when the program reaches a specific line in the source file. The debug adapter maps the source location to the actual binary/runtime position to set the breakpoint.
3 / 5
In DAP, the ___ frame shows the sequence of active function calls at the point where execution is paused — from the innermost function to the program entry.
The call stack (stack frames) shows the active function call hierarchy at the breakpoint. Each frame shows: function name, source file, line number, and local variables. Navigating frames lets users inspect state at different levels of the call stack.
4 / 5
'___ Over' in a debugger executes the current line without entering any function calls on that line.
Step Over (next) executes one statement without descending into function calls on that line. If the line calls a function, the debugger runs the entire function and stops at the next line. Use it when you don't need to inspect the called function.
5 / 5
Variable ___ in a DAP session allows users to view and modify the values of variables in the current scope while execution is paused.
Variable inspection (via scopes/variables requests in DAP) displays variable names and values in the current scope. The Variables panel shows locals, parameters, and closures. Some adapters also allow modifying variable values mid-session for 'hot patching'.