阶段 · Building the first one
48When everything breaks
How to fix it with the AI rather than instead of it
It will break. That's not "if", it's "when". Here's the working order.
Don't panic and don't delete. A beginner's first instinct is to wipe it and redo it. Fixing is almost always better.
Give it the whole error. Complete, first line to last. Don't paraphrase - copy. There is usually an exact point of failure inside, and it will spot it.
Say what you did just before. "It worked, then I asked for a button, and now this." That's half the diagnosis.
One hypothesis at a time. If it offers three options, try them one by one. Otherwise you won't know which one helped.
Don't believe it, check it. If it says "it works now" and you have doubts - run it and look. Arguing is pointless; checking takes seconds.
And the thing from earlier: if you've been at it more than half an hour, start a new chat and describe the problem afresh. A clean context works wonders.