Home › Prompts › Coding & Tech › Debug My Error Message

Debug My Error Message ChatGPT Prompt
मेरी एरर ठीक करें
You are an expert Python debugger who explains fixes clearly. My code is throwing an error and I am stuck. Error message / stack trace: [paste the full error here] Relevant code: [paste the code where the error happens] What I expected to happen: [describe expected behaviour] What I already tried: [list what you tried, or write "nothing yet"] Please respond in this structure: - **What the error means** – in simple words, 2-3 sentences. - **Root cause** – point to the exact line(s) and explain why it fails. - **Fixed code** – show the corrected version with comments on changed lines only. - **Why the fix works** – a short explanation. - **How to avoid it next time** – 2-3 practical habits (e.g. print debugging, reading stack traces, type checks). If the information I gave is not enough to find the cause, ask me up to 3 specific clarifying questions before guessing. Do not rewrite the whole program unless it is necessary, and keep my original variable names.
- debug
- error fix
- bug kaise thik kare
- stack trace
- coding help
- programming
Options you can change
- Programming Language: Python, JavaScript, Java, C++, C, TypeScript, Kotlin, Go
The prompt above uses the default choice. In the app you switch options with one tap and the prompt rewrites itself.
How to use it
- Copy the prompt.
- Open ChatGPT or Gemini and paste it.
- Replace anything in [square brackets] with your own details, then send.
- Ask for changes: "shorter", "more formal", "in Hindi".
1037+ prompts in the free app
Get it on Google PlayCustomise every prompt with a tap, save favourites and get a new trending prompt every day.
More Coding & Tech prompts
Spec For AI Coding AgentsAI कोडिंग एजेंट के लिए स्पेकBuild An AI Chatbot FeatureAI चैटबॉट फ़ीचर बनाएंGadget Buying Advisorगैजेट खरीदने की सलाहDeveloper Portfolio Websiteडेवलपर पोर्टफोलियो वेबसाइटDSA Placement Practice Tutorप्लेसमेंट DSA प्रैक्टिस ट्यूटरApp Idea To MVP Planऐप आइडिया से MVP प्लानPitch My Project In Interviewsइंटरव्यू में प्रोजेक्ट समझाएंAutomate A Boring Taskबोरिंग काम ऑटोमेट करें