VIP 👤
🏠 Home
Benchmark Hub
📊 All Benchmarks 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List Applications 🎨 Creative Free Pages 🎯 FSACB - Ultimate Showcase 🌍 Translation Benchmark
Models
🏆 Top 10 Models 🆓 Free Models 📋 All Models ⚙️ Kilo Code
Resources
💬 Prompts Library 📖 AI Glossary 🔗 Useful Links 🔌 API & Routers
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.