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
		
- 
				
				Java with IntelliJ is almost a pleasure to debug tbh.
 
 Otherwise, yes. Print the madafaka till it solves itself 😤
- 
				
				 mojo20127647yWhy??? Just why??? Changin the code that u want to debug is just insane! mojo20127647yWhy??? Just why??? Changin the code that u want to debug is just insane!
 At least use a proper logger!!!!
- 
				
				This reminds me of my early academic year's where we used Turbo c++ and a gazillion cout statements to figure what's going wrong.
 I'm glad I've passed the point of using print statements to debug.
- 
				
				I subscribe to the "staring at the code till it is solved".
 Or - try to remote debug a node app running in a docker container, on a different machine, and you can't access it directly over the network, only ssh port is open.
- 
				
				Pffffffft.
 
 Pros uses syscall
 
 const char msg[] = "Hello World\n";
 syscall(__NR_write, STDOUT_FILENO, msg, sizeof(msg)-1);
 syscall(__NR_fsync, STDOUT_FILENO );
Related Rants











 Coworker's whiteboard today
Coworker's whiteboard today
😂😂 this pic describes me... Who else prefers System.out.println();? ✋🏻
joke/meme
java
debbuging