Interview practice question
Reading a stack trace to find a bug
Backend Engineering · Language Runtimes · Beginner
Your service logs an exception with a long stack trace. How do you use it to find the problem?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Read exception type and message first.
- Find first frame in your own code.
- Check "Caused by" chains.
- Reproduce with same inputs.
- Add context to logs if missing.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.