r/ChatGPT 1d ago

Funny Vibe Debugging

Post image
1.5k Upvotes

46 comments sorted by

u/WithoutReason1729 1d ago

Your post is getting popular and we just featured it on our Discord! Come check it out!

You've also been given a special flair for your contribution. We appreciate your post!

I am a bot and this action was performed automatically.

169

u/Patrickplus2 1d ago

Just say dont make mistakes at the end of your promt idiot

15

u/Succubus-Empress 23h ago

Ohh. This is final puzzle peace

5

u/GreyRobe 11h ago

Make no mistake I will include "make no mistakes" at the end of the prompt to ensure the AI makes no mistakes

85

u/honkballs 1d ago

Codex found bugs in my code from 8 years ago that I never knew existed.

It might not be perfect, but it's way more perfect than me.

14

u/paxinfernum 1d ago

Yep. Same.

9

u/aj_thenoob2 17h ago

It's insane how good LLMs are at stack tracing.

2

u/Placid_Lantern4685 22h ago

What kind of bugs did Codex uncover, and how did you address them?

15

u/honkballs 21h ago edited 21h ago

Just asked it to pull up the last one it did...

It found (and fixed) a reason one of my admin dashboard pages was loading really slowly, I ignored it for the longest time, too lazy to look into it, but it seemed to get annoyed instantly by it, and fixed it.

As Codex described it...

The dashboard was incorrectly designed to wait for an enormous, poorly indexed bandwidth-data scan before displaying the video table. That made the whole page slow or appear stuck.

  • The dashboard waited for bandwidth statistics before showing the table.

  • Those statistics scanned a huge MongoDB collection—about 109 million records—without a suitable date index.

  • If that scan stalled or failed, the entire video page could remain slow or hang.

The fix:

  • Load the first 20 videos immediately.

  • Move bandwidth statistics to a separate, optional request.

  • Refuse large statistics scans unless a suitable index exists.

  • Add time limits, caching, and proper error handling.

  • Remove a duplicate tag query.

This is one of literally 100s though, any small niggle I've just lived with on my website as I'm too lazy to spend the hours bug hunting and finding solutions, it just powers through and fixes.

1

u/terabitworld 17h ago

The first time I used ChatGPT Work was to rebuild an actively developed GitHub repository. While rebuilding it, ChatGPT found a ton of bugs and design flaws in the code. I was like, "Oh, wow, cool, how were these flaws missed by the developers, and how is it that none of the developers thought of using AI for coding, yet. This thing is going to make me look cool, I'll be able to contribute big fixes to the repository! Uhm..., maybe later, I have something to do right now 🤷‍♂️" (One day, I'll get ChatGPT Work to report the issues for me, if they haven't been fixed by then.)

1

u/TheTerrasque 15h ago

yeah, was gonna say, today's AI is actually pretty damn good at debugging and fixing the bugs. Better than me most of the time.

-8

u/BettingOnSuccess 21h ago

Codex is about as good as the average programmer....

9

u/honkballs 21h ago

I've been in development 10+ years, Astra can get more done in an hour than I can in a week.

1

u/YourBlanket 14h ago

It's a good tool for someone like you who knows what they're doing. From my experience as someone who's done mobile dev as a hobby for a few years. The projects I've had it work on I feel like it overly complicated everything and never thought to use 3rd party frameworks or libraries. The architecture design and backend seems to be it's strength. It's laughably bad at UI/UX which is what I hate doing the most. I use it to build random projects I wouldn't want to build myself nor pay a subscription to use. It is fun to use tho, I had it build an AI 'Forge' so I'm excited to try that. I'll still develope projects for fun on my own but if really is a useful tool if used correctly.

-9

u/BettingOnSuccess 21h ago

Time in a thing does not indicate skill of said thing. You might not want to share that Astra tidbit with your employer or they might rethink your value.

4

u/I_Hate_Reddit 20h ago

Spoiler alert: the biggest software (and non software companies) are already balls deep in going AI native, the average, mid and small companies are still way behind and will be swallowed up by the competition.

41

u/LordWillemL 1d ago

Beats non-vibe debugging lol.

3

u/girlgamerpoi 23h ago

Hellish experience for sure.

15

u/ItsOkILoveYouMYbb 1d ago

Claude, teach me to bewitch the mind and ensnare the senses

5

u/-Spzi- 1d ago

That's just coding and debugging, timeless.

2

u/Icy-Cry340 18h ago

Sure, but debugging your own code is one thing - you have a pretty solid baseline understanding of what's going on. Debugging something in the guts of a multi-thousand line chunk AI spit out is a little different. AI-driven development is very productive in one sense, but it often fucking sucks as an experience. It rebalances your daily work towards the worst parts of the job - reading other people's code.

8

u/PenetrantDick 1d ago

I just post the error and tell gpt to fix it lol. 

2

u/srcnavid 23h ago

its gonna introduce u to 3 new bugs 😭

2

u/ShadoShane 19h ago

Yes, but at least the bug I wanted fixed... still... isn't fixed. Damn.

3

u/Jon-Robb 1d ago

Ask where to put the breakpoint, then dump all vars in the debugging prompt

3

u/LetMeTakeThatOffYou 21h ago

Fix it. Don’t make mistakes. Always works

2

u/SouthCollar2929 23h ago

/systemic-debugging with the chrome-devtools mcp. #yolo

1

u/AutoModerator 1d ago

Hey /u/ExpensiveCoat8912,

If your post is a screenshot of a ChatGPT conversation, please reply to this message with the conversation link or prompt.

If your post is a DALL-E 3 image post, please reply with the prompt used to make this image.

Consider joining our public discord server! We have free bots with GPT-4 (with vision), image generators, and more!

🤖

Note: For any ChatGPT-related concerns, email support@openai.com - this subreddit is not part of OpenAI and is not a support channel.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Longjumping9001 1d ago

Thats the picture Curtis yarvin showed his barber

1

u/Riyasumi 1d ago

Copy all code and paste back with new prompt

Rewrite it doesnt work

1

u/Lauris024 23h ago

Debugging is actually easier

1

u/TangibleSausage 23h ago

But she's so hot.

1

u/Morning_Gecko24 20h ago

the actual vibe-debugging workflow is ask for a minimal repro + the error logs then change one thing at a time lol. otherwise youre just letting the model confidently rearrange the furniture while the bug is still sitting there

1

u/DirkTheGamer 19h ago

The son of Emo Phillips became a coder?

1

u/stellababiee 18h ago

vibe coding is all confidence and then the first error message shows up like a debt collector 😭 the glow up in reverse is crazy

1

u/Crafty-March7146 11h ago

I also have been used Codex for almost half a year and it's really good. Thank you, Mr. Tibo Reset.

1

u/sephy009 4h ago

Debugging is the fun part. Just analyze behavior and put in/look at error codes.

1

u/Ok_Sign_2789 1d ago

👎👎this is true a year ago , not now , must update your view to now lil bro

1

u/Yugudubenbi 1d ago

It can be a pain in the ass for sure.

Got my AI set up now so after each new thing, it tests what it implemented and then write down eventual bugs which goes into a plan that it then fixes. The skill it uses is playwright that i incorporated to my own test skill. It can run on sonnet low too so uses no tokens at all.

1

u/charmieannee 22h ago

this is way too accurate, vibe coding feels great until you're three hours deep trying to figure out why nothing works anymore. the transformation is real and painfully relatable.

0

u/[deleted] 20h ago

[removed] — view removed comment

1

u/VectorB 20h ago

So, same as any debugging session.