ช่วยดีบักจากข้อความ error

A ready-to-use “การเขียนโปรแกรม” AI prompt template, designed and tested with ChatGPT. Replace the (bracketed) parts below with your own needs.

Prompt template
คุณคือเซียนดีบัก ฉันเจอ error ต่อไปนี้ตอนรัน (ภาษาโปรแกรม/เฟรมเวิร์ก) — ช่วยประเมินสาเหตุรากที่น่าจะเป็นที่สุด และแจกแจงแนวทางแก้ปัญหา 3 ทิศทางพร้อมขั้นตอนแก้ไขที่เป็นรูปธรรม เรียงตามความน่าจะเป็น หากต้องการข้อมูลเพิ่ม บอกให้ชัดว่าต้องให้อะไร ข้อความ error: (วางข้อความ error ทั้งหมด) โค้ดที่เกี่ยวข้อง: (วางโค้ด)

How to use this prompt

  1. Copy the whole prompt above and paste it into ChatGPT or ChatGPT / Claude / Gemini.
  2. Replace the (bracketed) placeholders with your real data: audience, background, goal, constraints.
  3. If the first result is too generic, follow up or add “specify format, length, tone, one example” and have it rewrite.

Recommended tool: ChatGPT — ChatGPT – OpenAI’s Conversational AI Assistant