title: 【程式設計】幫程式碼 Debug

---

**摘要**

檢查現有程式碼的 bug 或潛在問題

**Category**

- [網站推薦](https://www.soft4fun.net/category/tech/website-recommand)

**自訂 Taxonomy**

**指令分類 (`prompt-type`)**

- [程式設計](https://www.soft4fun.net/prompt-type/programming)

**Tag**

- [AI](https://www.soft4fun.net/tag/ai)
- [AI 指令大全](https://www.soft4fun.net/tag/ai-%e6%8c%87%e4%bb%a4%e5%a4%a7%e5%85%a8)
- [ChatGPT prompt](https://www.soft4fun.net/tag/chatgpt-prompt)
- [ChatGPT 咒語](https://www.soft4fun.net/tag/chatgpt-%e5%92%92%e8%aa%9e)
- [ChatGPT 指令](https://www.soft4fun.net/tag/chatgpt-%e6%8c%87%e4%bb%a4)
- [程式設計](https://www.soft4fun.net/tag/%e7%a8%8b%e5%bc%8f%e8%a8%ad%e8%a8%88)

**圖片清單**

- ![GTPa-53](https://cf.img.soft4fun.net/2023/03/GTPa-53.png "GTPa-53")

---

這個指令可以幫你檢查現有程式碼是否有執行上的 bug 或一些潛在問題。

           

#### 更多AI相關報導

- [國際AI工
  進台灣卡在發票 歐買尬出手](https://www.soft4fun.net/tech/%e5%9c%8b%e9%9a%9bai%e5%b7%a5%e5%85%b7%e9%80%b2%e5%8f%b0%e7%81%a3%e5%8d%a1%e5%9c%a8%e7%99%bc%e7%a5%a8%e3%80%80%e6%ad%90%e8%b2%b7%e5%b0%ac%e5%87%ba%e6%89%8b.htm)
- [國際AI工
  進台灣卡在發票 歐買尬出手](https://www.soft4fun.net/tech/%e5%9c%8b%e9%9a%9bai%e5%b7%a5%e5%85%b7%e9%80%b2%e5%8f%b0%e7%81%a3%e5%8d%a1%e5%9c%a8%e7%99%bc%e7%a5%a8%e3%80%80%e6%ad%90%e8%b2%b7%e5%b0%ac%e5%87%ba%e6%89%8b-2.htm)
- [AI 變身最強駭客？Anthropic 發表未
  開模型 Claude Mythos，找到 27 年未被發現的漏洞](https://www.soft4fun.net/tech/ai/anthropic-project-glasswing-claude-mythos.htm)
- [影片生成「白菜價」時代來臨！Google 推 Veo 3.1 Lite 影片生成模型，每秒只要 0.05 美
  ](https://www.soft4fun.net/tech/ai/google-vieo-3-1-lite.htm)
- [Claude Code 原始碼外洩，究竟 Anthropic 是如何實現 Harness，讓 coding agent 可以穩定長時間運作？](https://www.soft4fun.net/tech/ai/claude-code-sourrce-code-leaked.htm)
