Debug from a stack trace
Works from the trace and the relevant source to name the most likely cause, with the check that would confirm it.
Below is a stack trace and the source it points into. Find the cause.
Return:
1. The most likely cause, in one paragraph, naming the specific line.
2. The single check that would confirm or rule it out - a log line, a value to print, a query to run.
3. The fix, as a minimal diff.
4. Other causes you considered and why they fit worse.
If the trace alone is not enough, say what else you need instead of guessing.
--- trace ---
{{trace}}
--- source ---
{{source}}Fill these in
Type your values and Copy gives you the finished prompt, not the template.
Nothing filled in yet - Copy will give you the template with placeholders.
Notes from the author
Step 2 is what beats pasting the trace on its own. A confirmation check turns a guess into something you can test in a minute.
For information only, not professional advice. You use it at your own risk and we are not liable for any loss or damage. See the disclaimer.
Tagged