Learn to Code via Tutorials on Repl.it!

← Back to all posts
How to fix ANY bug (works 2021)
Coder100

How to fix ANY bug

This super awesome hacky solution has been found to work this year, maybe not next year. Maybe Life™ will add patches for this extreme life hack!!

Step 1.

Identify your bug.
What line is it on? What file? What have you pinpointed to be not working? You can be as vague as you want, or as specific as you want. Keep this specific area of the code in mind.

Step 2.

Completely remove that specific area of the code. It is buggy, so it must be removed, right? If this worked, then congratulations!! You have just exploited a hack in Life™!! If not, continue on to Step 3...

Step 3.

Pinpoint what file this bug is in. Now the whole file is corrupted, so why not delete the file? If this worked, hooray! If not, move on to Step 4...

Step 4.

Delete the folder the file was in. Perhaps the surrounding files got corrupted by the absence of the buggy files. This bug is such a virus ugggh. After you deleted the whole folder, the code should be working!! If the program still doesn't work or your file wasn't in a folder, move on to Step 5...

Step 5.

Well, this bug is very large. It's time to delete your entire repl! To do this, click on the arrow right next to the repl name and click delete:

Hooray! There will now be no bugs! You literally can't have bugs if you don't have code!!

Now, to celebrate, you can optionally follow Step 6...

Step 6.

Share the 100% working 2021 solution to defeat any bug by creating a new tutorial on repl talk on the steps required to solve any bug (or just write a new tutorial on how to do something awesome 😉!)

Closing

lmao

This post has been locked
Voters
KHZ
ZechSpiller
TsunamiOrSumth
darkdarcool
DavidHilsee
XanthusPettitt
RainBowLion1
NotMrMan
ANDREWVOSS
FlaminHotValdez
Comments
hotnewtop
realTronsi

waiting for this to be unlisted

CoolCoderSJ

@realTronsi lmao somehow it's "hot"

Coder100
Coder100

upvote kthx @realTronsi

Bookie0

@realTronsi lol kinda

ANDREWVOSS

I've tried this, it totally works. I followed all the instructions on one of my repls, and now there are no bugs! Thanks for the great tutorial.

Coder100

no problem :DDD @ANDREWVOSS

FlaminHotValdez

GENIUS SOLUTION. I SHOULD DO THIS.

well really I shouldn't because then my code doesn't work and as a competitive programmer a nonfunctioning code sucks.
FlaminHotValdez

on a more serious note though, this is what they do with cancer patients.

Coder100

ikr thanks!! @FlaminHotValdez

Dart

Post locked + hidden b/c useless tutorial

JBloves27

...Amazing

Coder100

ikr @JBYT27

JBloves27

...yes @Coder100

darkdarcool

lmao!!
(this is what I do, it the reason I have so few repl's)

Coder100
DavidHilsee

thank it works

Coder100
XanthusPettitt

honestly, this changed my life thank you

Coder100

awesome!! @XanthusPettitt

RainBowLion1

why does this work "If theres no code they cant be a bug"- @Coder100

Coder100
NotMrMan

instructions unclear: accidentally deleted the governments top-secret files

oh god i am gonna die why did i do this

Coder100

lmao @NotMrMan

Bookie0

uh..

RainBowLion1

@Bookie0 yea i thought you were crazy after destroying our brains but this... idk what say

Bookie0
Coder100
Bookie0

@Coder100 hey there!