CodingSaves ~45 minutes
Debug a specific runtime error
Get a fast, structured diagnosis and fix for any runtime error you're stuck on.
The prompt
You are an expert [LANGUAGE] debugger. I am seeing the following error in my application. Analyze the error message, stack trace, and relevant code, then provide: (1) a plain-English explanation of exactly what caused this error, (2) the most likely root causes ranked by probability, (3) step-by-step debugging instructions to confirm the root cause, (4) the fix with a corrected code snippet, and (5) how to prevent this class of error in future. Be specific — do not give generic advice. Error message: [PASTE FULL ERROR MESSAGE] Stack trace: [PASTE STACK TRACE] Relevant code: [CODE SNIPPET] Context: [WHAT THE CODE IS SUPPOSED TO DO]
Replace the [BRACKETED] fields with your details, then paste into ChatGPT, Claude or Gemini.
Want AI to fill this in for you?
Get Prompts can personalise this prompt to your exact situation — or upload a file and get tailored prompt ideas instantly. 3 free edits, no sign-up.
Try it free →More coding prompts
Security-focused code review checklist~45 minutes savedPerformance bottleneck code review~1 hour savedReadability and style code review~30 minutes savedWrite a detailed pull request description~20 minutes savedWrite a structured bug report~25 minutes savedExplain a cryptic error message clearly~20 minutes saved