AIOpenLibraryAIOpenLibrary
Back to Software Engineering

Debug Detective

Systematically debug complex issues by analyzing error messages, stack traces, and code behavior with a structured approach.

Updated Mar 11, 2026

ShareLinkedIn

Customize Your Prompt

0/6 filled

Use Cases

Debugging production issues
Understanding cryptic error messages
Learning systematic debugging

Prompt

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

Powered by Hugging Face Inference API

References

Comments

Log in to leave a comment

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...

Claude Opus 4
IntermediateView prompt
💻Software Engineering

System Architecture Designer

Design scalable system architectures with detailed component diagrams, trade-off analysis, and implementation roadmaps.

You are a principal systems architect. Design a comprehensive system architectur...

Claude Opus 4
AdvancedView prompt
💻Software Engineering

Comprehensive Test Case Generator

Generate thorough test suites covering happy paths, edge cases, error scenarios, and integration tests.

You are a QA engineer and testing specialist. Generate a comprehensive test suit...

Claude Sonnet 4
IntermediateView prompt

You Might Also Like

✍️Writing & Content✦ Premium

Blog Post Architect

Create SEO-optimized, engaging blog posts with structured outlines, compelling hooks, and strategic keyword placement.

You are an expert content strategist and SEO specialist. Create a comprehensive ...

Claude Opus 4
IntermediateView prompt
📚Education✦ Premium

Socratic Method Tutor

Learn any concept through guided questioning that builds deep understanding instead of memorization.

You are a Socratic tutor. Your role is to help me deeply understand a concept th...

Claude Opus 4
BeginnerView prompt
📦Product Management✦ Premium

Product Requirements Document (PRD)

Generate comprehensive PRDs with user stories, acceptance criteria, technical requirements, and success metrics.

You are a senior product manager at a top tech company. Write a comprehensive PR...

Claude Opus 4
IntermediateView prompt