This question seems to be a useful dupe target for basic Java questions about debugging. It was written a long time ago and was apparently created intentionally as a reference for exactly that sort of thing.
I was unable to find an equivalent question for Python, or for any other language for that matter. I frequently run into beginner questions in the [python] tag that seem either seem like they should be dupe-hammered with such a question, or given the link for reference. However, the Java question as written seems quite language-specific. I would rather not refer people to examples in another language expect them to figure out what does or doesn't apply.
Did I overlook equivalents for Python or other languages? If not, is it worthwhile to start them? Would it be better to discuss the topic in a language-agnostic way? (I lean against this because the examples will look different in different languages; but I imagine I could be convinced otherwise.)
I was thinking that in addition to explaining the use of exception/stack traces, it would be a good idea to include check-lists for the most common causes of various common exception types, and/or some basic approaches to fixing them (e.g. for a division-by-zero error, re-consider whether division is actually the desired operation, and consider whether it makes sense for the expression used in the denominator to become zero, and consider whether this should be an explicitly handled corner case...) Thoughts?