EasyFileMagic logo
Open a tool
All AI prompts
Coding & Dev

Debug an error like a senior engineer

Root cause, fix, and prevention — not just a patch.

The prompt

I'm getting this error:

```
[PASTE ERROR / STACK TRACE]
```

Relevant code:
```
[PASTE CODE]
```

Walk me through: (1) what the error actually means, (2) 3 most likely root causes ranked by probability, (3) how to confirm each, (4) the minimal fix, (5) how to prevent this class of bug in future.

Paste it into ChatGPT, Claude, Gemini or Midjourney and replace anything in [SQUARE BRACKETS] with your own details.