Help me debug a problem I can't figure out.
Problem description: [DESCRIBE THE BUG]
What should happen: [EXPECTED BEHAVIOUR]
What actually happens: [ACTUAL BEHAVIOUR]
When it started: [AFTER WHAT CHANGE / ALWAYS / INTERMITTENT]
What I've tried: [LIST DEBUGGING ATTEMPTS]
Walk me through:
1. **Problem Definition**: Help me state the problem precisely
2. **Reproduction Steps**: Identify the minimum steps to reproduce
3. **Hypothesis Generation**: List possible causes ranked by likelihood
4. **Isolation Strategy**: How to narrow down where the bug lives
5. **Debugging Tools**: Which tools to use for this type of bug
6. **Binary Search Debug**: Using divide-and-conquer to find the issue
7. **Logging Strategy**: What to log and where to add log statements
8. **Common Causes**: Frequent causes for this type of bug
9. **Fix Verification**: How to confirm the fix actually works
10. **Prevention**: How to prevent this type of bug in future
Help me debug a problem I can't figure out.
Problem description: [DESCRIBE THE BUG]
What should happen: [EXPECTED BEHAVIOUR]
What actually happens: [ACTUAL BEHAVIOUR]
When it started: [AFTER WHAT CHANGE / ALWAYS / INTERMITTENT]
What I've tried: [LIST DEBUGGING ATTEMPTS]
Walk me through:
1. **Problem Definition**: Help me state the problem precisely
2. **Reproduction Steps**: Identify the minimum steps to reproduce
3. **Hypothesis Generation**: List possible causes ranked by likelihood
4. **Isolation Strategy**: How to narrow down where the bug lives
5. **Debugging Tools**: Which tools to use for this type of bug
6. **Binary Search Debug**: Using divide-and-conquer to find the issue
7. **Logging Strategy**: What to log and where to add log statements
8. **Common Causes**: Frequent causes for this type of bug
9. **Fix Verification**: How to confirm the fix actually works
10. **Prevention**: How to prevent this type of bug in future
How to use this prompt
Copy the prompt above and paste it into ChatGPT, Claude, Gemini, or any AI assistant. Replace the bracketed placeholders with your specific details.
Leave a Review
Tried this prompt? Let us know how it worked — your reviews help other users find the best prompts.