Prompt Boston Logo
Back to Engineering

Debugging & Troubleshooting

Professional RolesEngineering

Error Investigation
Bug investigation
Help debug this issue:

Error message: [error]
Context: [what was happening]
Code involved: [relevant code]
Environment: [environment details]
Steps to reproduce: [steps]
Expected behavior: [expectation]

Provide:
- Root cause analysis
- Explanation of why it's happening
- Step-by-step debugging approach
- Potential fixes (multiple options)
- Prevention strategies

Try this prompt in:

Note: ChatGPT and Perplexity will open with the prompt pre-filled. For Claude and Gemini, you'll need to paste the prompt manually.

Performance Bottleneck Analysis
Performance optimization
Analyze this performance issue:

Symptom: [slow response, high CPU, etc.]
Metrics: [response times, resource usage]
Code/query: [relevant code]
Scale: [users, data volume]

Provide:
- Likely bottlenecks
- Profiling strategy
- Optimization recommendations (quick wins and long-term)
- Caching opportunities
- Database query optimization
- Code-level improvements

Try this prompt in:

Note: ChatGPT and Perplexity will open with the prompt pre-filled. For Claude and Gemini, you'll need to paste the prompt manually.