PCEP-30-02 · Question #118
What do you call a tool that lets you launch your code step-by-step and inspect it at each moment of execution?
The correct answer is B. A debugger. A debugger is specifically designed to pause execution at defined breakpoints, let you step through code line by line, and inspect variable values and program state at each moment - exactly what the question describes. An editor (A) is a text tool for writing and editing source…
Question
Options
- AAn editor
- BA debugger
- CA console
How the community answered
(31 responses)- A6% (2)
- B81% (25)
- C13% (4)
Explanation
A debugger is specifically designed to pause execution at defined breakpoints, let you step through code line by line, and inspect variable values and program state at each moment - exactly what the question describes. An editor (A) is a text tool for writing and editing source code, but it doesn't execute or inspect runtime behavior. A console (C) lets you view output and run commands, but it doesn't offer step-by-step execution control or live inspection of program state. Memory tip: Think of a debugger like a "pause button" for your code - it de-bugs by letting you watch the bug happen in slow motion, step by step.
Community Discussion
No community discussion yet for this question.