(Armchair) Psychology of debugging

(Armchair) Psychology of debugging#

Learning Objectives#

After working through this topic, you should be able to:

  • Explain common psychological pitfalls that make debugging inefficent

  • Know how to react when you discover yourself in one of them

Materials#

Video:

Download the slides.

Quiz#

How can thorough reading help while debugging
Why is just running code again not a good debugging strategy
Why should you avoid telling yourself that your code should work
Why should you be careful when trying out things while debugging
Why should you start with the assumption that the bug is not in libraries