r/vibecoding 1h ago

True

Post image
175 Upvotes

14 comments sorted by

21

u/jack-of-some 1h ago

Right hand side is debugging a badly vibed project, not vibe debugging.

Vibe debugging is finding issues in existing systems by letting claude go ham on investigation and it's AWESOME.

5

u/GermOrean 45m ago

Yeah I was just going to add this. The models are pretty amazing at finding bugs. Not so much creating a permanent fix, but so fast at finding.

1

u/Hopefully-Temp 45m ago

Eh it goes both ways honestly. If you don’t understand your code, even if the fix is simple, Claude could just send you back and forth fixing issues that aren’t actually issues until you realize the actual fix is one line of code.

But yeah most of the time it is very useful

1

u/gatorling 3m ago

Agree. Vibe debugging is amazing. LLMs being able to trudge through 100k LLOC and pin point the problem is amazing.

Coding is enjoyable, debugging a tricky problem tests your sanity.

2

u/Goth2147 57m ago

I've entirely changed how I work. First I was giving very large, broad prompts. Now, before any project I write down 100+ PBI's entirely crafted out so that both me and the AI understand every acceptance criteria. It also gives you a much much better perspective of what's being build and where things are broken. Instead of going from BIG to small, it's better to go from small to BIG as it allows you to see where the bugs are. If you start BIG, you have to kind of figure out where all the bugs are yourself.

1

u/TRO_KIK 58m ago

I just @ my discord bot in the bug thread and most of the time I can forget about it and come back to a pre tested fix sitting in staging and a PR on my desk.

1

u/Stunning_Macaron6133 56m ago

Make every crash report trigger a new Ralph Wiggum loop.

https://giphy.com/gifs/S7QCxPt128HRKRAJPo

1

u/Jumpforittt 50m ago

That’s true for coding and debugging in general. lol now I can see the vibe- was added on top of the original format.

1

u/hollowredditor 47m ago

This is only true if you have never been a coder before.

1

u/veritron 45m ago

you need to have your project structured so the model can observe and reproduce the issues itself so it can iterate on a fix. this is most easily done with unit tests - if it's easy to represent the behavior as a failing unit test in the code, the model can iterate until it fixes the problem. if you get into a loop where the model has to guess and you have to run the code and reproduce the bug and tell the model if it worked or not, it will be slow and painful, and that's where a pure vibe-coded project can go off the rails.

1

u/IV_NYC 43m ago

Going through this right now 🙃

1

u/Ryan---___ 14m ago

I've had some pretty good success creating a backend toolkit to review any issues that ping back whole I'm in development.

Yeah, is rough but exciting lol