Home › Prompts › DeepSeek › Debug with ranked hypotheses
Debug with ranked hypotheses
Debug a problem by listing likely causes, quick tests for each, and the fix for the confirmed cause.
DeepSeekCodingRuleStack original
Written for DeepSeek Chat (DeepThink reasoning mode) · Updated 2026-10-17
Note: Review and test before use. Provided as is, without warranty. See Terms.
Prompt
DownloadBug: [what happens vs what should happen]. Stack: [language, framework, versions].
Error/logs:
```
[paste]
```
What I tried: [list].
Rank the 5 most likely causes, give a quick test to confirm or rule out each, then the fix for the top cause. Do not rewrite unrelated code.Replace everything in [square brackets] with your own details.
Settings & parameters
- DeepThink on
Variations
- Performance problem instead of an error.
- Flaky test.
Tips
- Ranked hypotheses beat random fixes.
- Remove secrets from logs before pasting.