3 ms·
In my 20+ years using java, not once have I used strace or gdb. Java itself has fantastic debugger support, and IDEs have built in step through capabilities. M
by throwaway7783 1y ago
In my 20+ years using java, not once have I used strace or gdb. Java itself has fantastic debugger support, and IDEs have built in step through capabilities.
Mentioning Java and Python in the same way in the context of performance is really odd. Python is nowhere near the JVM when it comes to performance
- toprerules 1y agoIt sounds like you've only ever written code without dealing with it in production. You can't always plug your code into an IDE when your debugging someone else's JVM app on a remote server.
- vips7L 1y agoExcept you can. Remote debugging is a huge feature.
- throwaway7783 1y agoEh, okay. Sounds like you don't know how to do this in production.
- lenkite 1y agoPlease - you can definitely do this in Java. Its been a standard basic feature of Java tooling for 25 years now. (Its the equivalent of saying that Rust doesn't have a package manager). I strongly urge reading some elementary tutorials to educate yourself. See https://www.baeldung.com/java-application-remote-debugging https://www.baeldung.com/java-application-remote-debugging for CLI based remote debugging But most people use IDE's. See https://www.jetbrains.com/help/idea/debugging-your-first-java-application.html https://www.jetbrains.com/help/idea/debugging-your-first-jav... and https://www.jetbrains.com/help/idea/tutorial-remote-debug.html https://www.jetbrains.com/help/idea/tutorial-remote-debug.ht... Java's debugging experience is better than any language out there - with the possible exception of Common LISP. I always cry when I need to debug a project written in another language after so much comfort using Java.