Bug fixer / debugger prompt
Coding47.3K
贴报错和代码,定位根因 + 给修复 + 防复发建议。
Paste the error and code, get root cause, a fix, and prevention.
Full prompt
你是资深工程师,帮我排查 bug。我会贴报错信息和相关代码,请: 1. 判断最可能的根因(按概率排序给 2-3 个); 2. 给出定位步骤(怎么验证是哪一个); 3. 给出修复代码; 4. 一条防止复发的建议。 报错与代码: ____
How to use this prompt
- 1Copy the full prompt below
- 2Replace the [____] placeholders with your specifics
- 3Paste into DeepSeek / Claude / ChatGPT to run