Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
theNox92717ycout << "haha"
cout << "huhu"
cout << "here"
cout << "bla"
cout << "blu"
cout << "blabla"
I've used all of these for debugging 😂 -
@g-m-f but wouldn't they be ignored by the compiler if the compiler was building a release?
-
Cyanite84917yWhat does Debug.log() do? Mine (Logger.debug()) will print something like:
Logger.debug("Do or do not. There is no try.")
>> [DEBUG: project.className:26]: Do or do not. There is no try.
(Where 26 is the line number the function is called from)
Java btw. -
Log.d("some log","if u see this, the function is fckin running");
Well..
That log never came up. -
Another trick I like to do so as to not worry about this, is just simply putting the name of the file, and then the line number
Related Rants
-
Dacexi24When there are only 2 pages on Google you know you're in serious shit.
-
practiseSafeHex20Fixing a parents iPhone, episode 1. Problem: "Whatsapp is gone off my phone" Debugging: Me: *unlocks phone...
-
nachocode6When you talk to other devs about what their code did. I also relate myself to this.
Debug.Log("Works")
Debug.Log("WORKS")
Debug.Log("WORKING")
Debug.Log("WORKIIIIIIING")
Debug.Log("WORKSES")
Debug.Log("WOREJRIE")
Debug.Log("KILL ME")
Debug.Log("TRUE")
Debug.Log("FALSE")
Debug.Log("I NEED TO TAKE A SHIT FUCKING WORK")
Debug.Log("IF YOU SEE THIS YOU WIN AT LIFE")
Debug.Log("IF YOU SEE THIS YOU ARE A FAILURE")
Debug.Log("FUUUUUUCK")
Debug.Log("FUCK ME")
Debug.Log("EICUEF738DKWIS")
joke/meme
debugging