🐛
Error Message Decoder
Understand cryptic error messages and stack traces
prompt template
Explain this error and tell me how to fix it: ``` [PASTE_FULL_ERROR_MESSAGE_AND_STACK_TRACE] ``` **My setup:** [FRAMEWORK_AND_VERSIONS — e.g., "Next.js 14, React 18, Node 20"] **What I was doing:** [ACTION_THAT_TRIGGERED_ERROR] Please provide: 1. **Plain English explanation** — what this error actually means (no jargon) 2. **Root cause** — why this is happening in my specific context 3. **Fix** — exact code change or command to resolve it 4. **Prevention** — how to avoid this error in the future 5. **Related gotchas** — similar errors I might hit next If the error could have multiple causes, list them from most to least likely and ask me a clarifying question to narrow it down.
How to Use This Prompt
- 1Copy the prompt template above
- 2Paste into Claude, ChatGPT, or Cursor
- 3Replace [bracketed placeholders] with your specific project details
- 4Iterate on the AI output to refine and customize the results
More Debugging Prompts
Related debugging templates from the vault
🐛
Network Request Waterfall Analyzer
Use this prompt to network request waterfall analyzer with AI assistance
Beginnerdebuggingnetwork
🐛
Stack Trace Decoder and Fixer
Use this prompt to stack trace decoder and fixer with AI assistance
Intermediatedebuggingstack-trace
🐛
Systematic Bug Diagnosis
Get structured help diagnosing a bug you cannot figure out
Beginnerdebuggingtroubleshooting
🐛
Systematic Memory Leak Hunter
Systematically identify and fix memory leaks in a production application using heap snapshots and allocation tracking
Advanceddebuggingmemory-leak
You Might Also Like
Prompts from other categories that share similar tags
Keep Exploring the Vault