Skip to content
Beginner
debugging
errors

Explain and fix an error

Understand stack traces quickly. Tuned for DeepSeek.

Prompt

I get this error in [ENVIRONMENT]:
[ERROR MESSAGE]
Relevant code:
[CODE]
Explain the cause in plain terms and give the minimal fix.

Think step by step before giving the final answer.

Replace the [HIGHLIGHTED] parts with your own details.

Example output

A short explanation of the null reference and a two-line fix.

Tips

  • Paste the full stack trace, not just the last line.

Related prompts