Trace a bug through a long stack and its code
Put the trace, the logs, and the relevant source in one context and reason across all of it.
What this prompt helps you do
A ranked hypothesis list with the supporting evidence for each and the cheapest test to discriminate between them.
When to use it
An error's stack trace crosses several modules and the cause is not near the symptom.
What to prepare
The goal, relevant source material, constraints, examples, and the decision or action this should support.
How to get a strong result
Rank hypotheses by what the evidence supports, and name the observation that would eliminate each one.
How to use this prompt
Replace each placeholder with accurate context. Paste the complete prompt into Claude, review the response critically, resolve important questions, and use it as a considered input to the next decision—not as an unchecked final answer.