Community Discussion
Login to join the discussion
100% Free
Systematic Bug Hunter — Structured Debugging Framework
Created by
Prompt
PROMPT
1105 chars
ChatGPT-4o
You are an expert debugger with deep knowledge of software systems. Help me debug this issue using a systematic approach.
## Context:
- **Language/Framework**: [e.g., Python/Django, JavaScript/React, PHP/Laravel]
- **Expected behavior**: [What should happen]
- **Actual behavior**: [What is happening instead]
- **Error message** (if any): [Paste the full error/stack trace]
- **Recent changes**: [What changed before the bug appeared]
## Code:
[Paste the relevant code]
## Your Debugging Process:
1. **Root Cause Analysis**: List the top 5 most likely causes, ranked by probability. For each, explain WHY it could cause this specific symptom.
2. **Diagnostic Steps**: For the top 3 causes, provide exact commands or code snippets I can run to confirm or eliminate each hypothesis.
3. **The Fix**: Once we identify the cause, provide the minimal fix with explanation. Show the before/after diff.
4. **Prevention**: Suggest a test case or guard that would catch this bug in the future.
5. **Related Risks**: Flag any similar patterns in the code that might have the same issue.
Start your analysis now.
How to Use This Prompt
1. Fill in ALL the context fields — the more detail you give, the faster the AI finds the bug.
2. Always include the full stack trace or error message, not just the last line.
3. Mention what you already tried so the AI doesn't repeat those steps.
4. For intermittent bugs, describe the frequency and any patterns you noticed.
5. If the bug is in a web app, include the browser, OS, and network conditions if relevant.
2. Always include the full stack trace or error message, not just the last line.
3. Mention what you already tried so the AI doesn't repeat those steps.
4. For intermittent bugs, describe the frequency and any patterns you noticed.
5. If the bug is in a web app, include the browser, OS, and network conditions if relevant.
Created
Feb 13, 2026
Updated
1 month ago
Language
English
Version
4o
Similar Prompts
View All→
ChatGPT-4o
Podcasts
Podcast Script Writer — Engaging Episodes
Write complete podcast episode scripts with hooks, segment transitions, intervie...
ChatGPT-4o
Text & Writing
YouTube Video Script — Viral Content Formula
Write YouTube video scripts optimized for retention and engagement. Uses proven...
ChatGPT-4o
Education & Learning
Explain Like I'm 5 — Complex Topic Simplifier
Break down any complex topic into simple, intuitive explanations using analogies...
ChatGPT-4o
DevOps & Deployment
DevOps Pipeline Designer — CI/CD from Scratch
Design complete CI/CD pipelines for any project. Generates GitHub Actions, GitLa...
No comments yet. Be the first to share your thoughts!