Read the stack trace / error message
A lot of the time the answer is there if you read it :)
A lot of the time the answer is there if you read it :)
I've noticed this while coaching / working with junior developers, is that this is a still that some haven't quite developed yet, and others clearly have.
Unless you're using golang. There's no stack trace by default. It's left as an exercise to to programmer to wrap and add context to errors.