Debug This Error

PromptBeginnerDebugging

A template that gives the full error with the steps and the expected result, and asks for hypotheses before editing.

The prompt
This error appears:
```
[paste the full error with the stack trace]
```
Steps to reproduce: [the steps].
Expected: [..]. Actual: [..].
Last change before the error appeared: [..].
Before any edit: list 2-3 hypotheses ranked by likelihood and how you would check each one. Then fix the root cause, not the symptom, and do not edit the tests.

Usage tips

  • Do not summarise the error message; copy it in full.