OCR GCSE Computer Science · J277
Paper 2
Revise: IDE Tools and FacilitiesA debugger helps investigate this type of problem. It can pause execution at a breakpoint, show variable values and execute the code one step at a time. The programmer compares what actually happens with what should happen, locating the instruction responsible for the unexpected result.