Skip to content
← Back to glossary

デバッグDebugging

Learn in the textbookImplementation and Review

DefinitionDebugging (デバッグ) is the work of pinpointing where the cause lies for a defect found in testing or elsewhere and fixing the program.

ExplanationYou follow the program's behavior line by line, or display variable values partway through, to narrow down where the error is. After the fix, both the changed part and the parts it affects are tested again.

AnalogyIt is like a light at home that won't turn on: you check the bulb, the switch and the wiring in turn, find the faulty spot and replace it.

Memory hookA bug is an insect; add de- (remove) and the word itself says to clear out the bugs that crept into the program.

Related past-exam questions(4 questions)