NIMCET 2025 — Computer PYQ
NIMCET | Computer | 2025A Debugger is a program that:
Choose the correct answer:
- A.
does not allow step by step execution of a segment of program
- B.
compiles source code to object code
- C.
links object code to produce an executable
- D.
allows to set breakpoints, execute a segment of program and display contents of Register
(Correct Answer)
allows to set breakpoints, execute a segment of program and display contents of Register
Explanation
A debugger is a program that allows developers to test and debug other programs. Its primary functions include:
-
Setting breakpoints:Pausing the execution of the target program at specific points in the code.
-
Executing segments of the program:Allowing step-by-step execution (stepping) or running the program until a breakpoint is hit.
-
Displaying contents of registers and memory:Inspecting the state of the program, including variable values, CPU registers, and memory contents, at any given point during execution.
Therefore, the correct answer is (d).

