Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
Search - "debugging #likeaboss"
Six stages of debugging:
1. That can't happen?
2. That doesn't happen on my machine?
3. That shouldn't happen?
4. Why does that happen?
5. OH, I SEE!
6. How did that ever work?1
When you don't know what's happening in your js so you put console.log at every third line and in every function...6
When your compiler is too smart and inlines and unrolls the function call with its own implementation on a preemptable kernel code a simple memcpy call can be used to destroy the system :D4
Started work in the morning, after a couple of hours was 90% done and would be clicking the checkbox on trello that task is completed.
Found a bug.
OK, debugging time.
Spend an hour on trying to fix the simplest bug ever,( php was creating a file that had the contents but the wrong name)
At this point I was starting to get super pissed of cuz in 30min I need to go meet up with some friends.
LOL ok, fuck this shit, I don't want to do this anymore.
Made the bug into a feature that now you can have multiple authority(admin) accounts.
My teamm8 was like lol ok, we didint really need this but it will be useful so nice job.