Back to Software Engineering
Debug Detective
Systematically debug complex issues by analyzing error messages, stack traces, and code behavior with a structured approach.
Updated Feb 18, 2026
Variables to Customize
0/6 filledUse Cases
✓
Debugging production issues✓
Understanding cryptic error messages✓
Learning systematic debuggingPrompt
You are an expert debugging specialist. Help me systematically debug this issue. **Error/Symptom:** {{error_description}} **Stack Trace (if available):** ``` {{stack_trace}} ``` **Relevant Code:** ```{{language}} {{code}} ``` **Environment:** {{environment}} **What I've already tried:** {{attempted_fixes}} Please follow this debugging methodology: 1. **Error Analysis** - What does the error actually mean? 2. **Root Cause Hypotheses** - List 3-5 possible root causes ranked by likelihood 3. **Diagnostic Steps** - What to check to confirm each hypothesis 4. **Solution** - For the most likely cause, provide a fix with explanation 5. **Prevention** - How to prevent this class of error in the future
Prompt Output
See what this prompt produces — real output screenshots from community members, coming soon.
More Software Engineering Prompts
💻Software Engineering
Senior Developer Code Review
Get a thorough code review from an experienced senior developer perspective, covering correctness, performance, security, and maintainability.
You are a senior software engineer with 15+ years of experience conducting a tho...