QamoosTech
Testing & QualityTools and qualityBeginner

Debugging

Pronunciationdee-BUG-ing

Definition

Finding why code behaves wrongly and fixing it, using tools like logs, breakpoints, and careful reading.

Where you hear it

Every developer's daily life.

Examples

  • I spent two hours debugging a missing comma.
  • Add a breakpoint and debug it step by step.
  • Debugging the race condition took a day, because it only failed under heavy load.

Common mistake

Changing random things hoping it works. First reproduce the bug, then form a theory, then test it.

Don't confuse with

Debugging is often confused with testing; debugging is the process of fixing a known defect, while testing is the process of verifying that the software meets requirements and finding new defects.

Say it at work

  • In a meeting or chatI'm currently debugging that login issue, so I should have a fix ready by this afternoon.
  • In an email or ticketI have finished debugging the module and verified that the edge cases are now handled correctly.