- Set a goal - Experiment - Visualize - Undo
1. See 2. Plan 3. Do 4. Check
- Observe
- Orient
- Decide
- Act
- Orient: check code that maybe involved, check in environment related variable values.
- Decide: decide what you will change in your code to try to fix bug.
- Act : implement fix.
Repeat all steps until you found fix.
Of course you can use different approach to debugging but this one works quite well too.