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
3 months ago
Language
English
Version
4o
Similar Prompts
View All→
ChatGPT-4o
Email Management
Email Inbox Zero — Smart Reply Generator
Clear your email backlog fast. Paste any email and get a professional, context-a...
ChatGPT-4o
Business Plans
Business Plan Generator — Investor Ready
Create comprehensive business plans that impress investors. Covers executive sum...
ChatGPT-4o
Project Management
Project Management Plan — Agile Sprint Planning
Create detailed project plans with user stories, sprint breakdowns, task estimat...
ChatGPT-4o
Email Marketing
Email Copywriter — High-Converting Sequences
Create email marketing sequences that convert. Generates welcome series, abandon...
No comments yet. Be the first to share your thoughts!