The debugging process

Metadata
aliases: []
shorthands: {}
created: 2022-01-20 11:59:15
modified: 2022-01-20 11:59:15

  1. Reproduce the problem
  2. Describe bug
  3. Capture program snapshot when the bug appears variable values and states
  4. Analyze try to find the cause of the bug
  5. Fix bug, check for new bugs

Exception handling

Is a good practice to use exception handling (error handling) in high-level languages, since it reduces the number of areas in the program where a bug can emerge.

(Exception handling is the process of responding to the occurrence of exceptions.)