Crash Log Analysis
Phase: Understand, Tags: #debugging #crash #logs
Context
Use this prompt when you have a stack trace or error log and need to understand the root cause before attempting a fix.
Variables
- ``: The stack trace or error output.
- ``: Language/Framework/OS (e.g., Python/Django, Node.js).
Prompt
Act as an expert Debugger. Help me analyze this crash log in a environment.
Log:
Before suggesting code changes, please explain:
- What exactly the error means in plain English.
- Which specific file and line seem to be the origin of the crash.
- What sequence of events likely led to this state.
- What additional context (variables, DB state) I should check to confirm the hypothesis.
Example Usage
Input: Help me analyze this crash log in a Node.js/Express environment. [Pasted Stack Trace]