VIP 👤
🏠 Accueil
基準測試
📊 Tous les Benchmarks 🦖 Dinosaure v1 🦖 Dinosaure v2 ✅ To-Do List Apps 🎨 Pages Libres 🎯 FSACB - Showcase 🌍 Traduction
Modèles
🏆 Top 10 Modèles 🆓 Modèles Gratuits 📋 Tous les Modèles ⚙️ Modes Kilo Code
Ressources
💬 Prompts IA 📖 人工智能詞彙表 🔗 Liens Utiles 🔌 AI API 同路由
advanced

Socratic Code Debugging

#logic #mentoring #debugging

A prompt designed to guide the user to their own solution through questioning rather than direct answers.

Act as a senior software engineer mentor. I will provide a code snippet and a description of a bug. Do not fix the code. Instead, use the Socratic method. Ask me probing questions about the code's logic, variable states, and execution flow one by one to help me identify the root cause myself. Only confirm my hypothesis when I am correct.