Stack Trace Analysis
Get plain-English stack trace analysis focused on YOUR code — not library internals.
debuggingdevelopmentchatgpt
Prompt
Analyze this stack trace and help me fix the issue: ``` {{paste full stack trace}} ``` The application is {{brief app description}}. 1. Explain in plain English what happened (one paragraph) 2. Identify the line in MY code (not library code) that triggered the issue 3. What is the root cause vs. the symptom? 4. Provide the fix with code 5. How to add error handling to prevent this from crashing in the future
Variables to customize
{{paste full stack trace}}{{brief app description}}
Why this prompt works
'Identify the line in MY code' focuses ChatGPT on actionable lines rather than explaining library internals. The root cause vs. symptom distinction prevents superficial fixes.
Save this prompt to your library
Organize, version, and access your best prompts across ChatGPT, Claude, and Cursor.
Related prompts
Code Review Assistant
Get thorough code reviews with actionable feedback tailored to your language, framework, and standards.
Code Review with Specific CriteriaGet focused code review feedback with numbered criteria that works on both ChatGPT and Claude.
Explain Complex CodeGet a clear, leveled explanation of any code snippet — calibrated to your experience level.
Debug with ContextSystematic debugging prompt that includes context, error details, and what you've already tried.