Prompt Library / Bug Fixer / Debugger / for Gemini
This is the Gemini version of the bug fixer / debugger prompt: a disciplined diagnosis: cause first, then the smallest correct fix. It is formatted the way Gemini takes prompts best. Free — copy it, replace the bracketed parts, and paste it in.
Gemini responds best to direct imperative instructions in a clean sequence, which is how this version is laid out. Keep constraints as short separate lines, and paste any source material after the instructions.
Replace the bracketed placeholders — [PASTE CODE], [ERROR MESSAGE OR SYMPTOM], [WHAT YOU EXPECTED] — with your own details before pasting.
See all model versions of this prompt, or open the prompt gateway to build a custom prompt from your own one-line goal, formatted for Gemini or any other model.


Mpromp2 — the AI Prompt Generator. Every prompt in this library is free to use, including commercially.