Tag

debugging prompts

Browse prompts tagged debugging. Use this page to find templates tied to a specific workflow, method, platform, or content pattern.

3 prompts

Coding

Debug a stack trace or error message

Paste the full error message and stack trace, the code where it originates, and what you were trying to do, and get back a plain-language explanation of what the error actually means. Returns likely causes ranked from most to least probable, points to the exact lines responsible, and suggests a minimal fix or next debugging step for each — including how you might be misusing a library if the trace points there.

Coding

Bug Triage and Root Cause Analyzer

Feed in a stack trace, expected versus actual behavior, the relevant code, environment, recent changes, and what you've already tried when you can't tell which layer is actually failing. Returns ranked hypotheses weighed with evidence for and against each one, a step-by-step debugging plan, and both a quick fix and a proper fix so you can unblock now while scheduling the real solution.

Coding

Find bugs and explain the cause

Feed in a suspicious snippet along with the error message and expected behavior, and get back a ranked list of likely bugs instead of a vague hunch. Each finding names the observable symptom, the probable root cause, the exact lines or functions responsible, and a concrete fix to apply. When the pasted context isn't enough to be confident, it says exactly what extra detail is missing instead of guessing at a diagnosis.