Stack Trace Interpreter
Explain an error trace and propose targeted checks.
The Open buttons send the prompt text as currently shown below to that site only when you click. Fill in the placeholders first.
[VERIFY] is an editorial flag, not a blank to fill. Wherever the prompt shows [VERIFY], check that item against a reliable source before you use it.
Help me understand and fix an error. First, ask me for what you need, one question at a time, and wait: (1) the full stack trace or error message, (2) the language, framework, and versions, (3) what I was doing when it happened and whether it is repeatable, (4) what changed recently, (5) the code around the failing line, and (6) what I have already tried. Details I have: [ERROR_DETAILS]. After I have answered, give me: 1. A plain-language explanation of what the error says: the type, where it was thrown, and the chain of calls (separate my code from library frames; focus on the first frame in my code). 2. The three most likely causes, ranked, with the evidence in the trace for each. 3. A specific check for each cause (a log statement, a debugger breakpoint, an input to print) and what result would confirm or rule it out. 4. A minimal reproduction suggestion. 5. The likely fix with code, and what it might break. 6. A test that would have caught this. State clearly when you are guessing, and do not invent library behavior; tell me which documentation page to check [VERIFY]. Verify every fact, figure and claim in the output against your own records or the official documentation, and have a qualified professional check anything with legal, safety or financial consequences before you rely on or publish it.
Fill in before use
Optional: type your details and the prompt above updates. Nothing is saved or sent.
Replace each bracketed placeholder with your own details, then paste into Any AI or another assistant.
See an example result (fictional data)
What it says: a TypeError thrown at orders.js line 88: "Cannot read properties of undefined (reading 'total')". The first frame in your code is calculateTotal(), called from the checkout handler. Likely causes 1. cart.items is empty for guest users (evidence: only happens when no account). Check: log cart before line 88. 2. API returned order without the 'summary' object (evidence: error after the Tuesday API update). Check: inspect the network response. 3. Race: summary is read before it loads. Check: add a breakpoint. Fix for 1 or 3: const total = order?.summary?.total ?? 0; but find the missing data first. Test: calculateTotal with an empty cart and one without summary. I am guessing on cause 2; check the API changelog [VERIFY].
Illustrative only, made-up data. Your results will differ and must be reviewed.