Back to guide/Developer Tools

Stack Trace Analysis

Get plain-English stack trace analysis focused on YOUR code — not library internals.

debuggingdevelopmentchatgpt
Edit View
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.