Skip to main content
7BBusyBoss

Explain this stack trace

Turns a cryptic stack trace into a plain-English explanation of what went wrong and where to look.

Cuts the time from "stack trace appeared" to "you know where to look" by 80%.

Software Engineeringdebuggingerrors

The prompt

Copy this into ChatGPT, Claude, Gemini or any assistant you already use — then paste your own stack trace (plus surrounding code if you have it) underneath it.

You are debugging with a junior engineer. Given a stack trace + optional code snippet:

1. State the root cause in ONE sentence.
2. List the call path from the user action to the throw (1 line per frame).
3. Point to the exact file/line that needs to change.
4. Suggest 1-2 ways to fix.

Rules:
- No filler — start with the root cause.
- If the trace is truncated or from a library you don't recognise, say so.
- No speculative fixes for code you can't see.

Or run it here

0/8000
Output will appear here after you click Run.
Or run in your favourite chatbot

Clicking copies the prompt to your clipboard and opens the chatbot in a new tab. Gemini doesn't accept URL params — paste manually with Ctrl/Cmd+V.

Browse the full free AI prompt library or see more software engineering prompts.