Context: It seems a lot of test engineers do not know how to use a debugger. This is based on the fact that we get a lot of null-pointer exception questions that can easily be solved if you know how and when to use step-by-step debugging.
I am looking for a canonical answer how to debug, targeted at testers. One that can be used as comment in other answers for people to try.
Question: How do we teach beginning test engineers debugger skills, so that they can analyse most common errors. Do you give such training? If yes, how? Answers should try to include:
- Why is having skills to use a debugger important?
- What should a (test) developer minimal know about using debugger?
- General training materials, not language specific (maybe link to good articles, or books)
- Simple example situation which is good for training purposes (for people with basic test automation knowledge)