this post was submitted on 28 Feb 2024
1012 points (97.0% liked)

Programmer Humor

32718 readers
278 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 90 points 9 months ago (5 children)

let's not act like Java's error log is useful

[–] [email protected] 16 points 9 months ago (1 children)

I think it's pretty useful, be interested to hear your hangups with it though because it's definitely not perfect.

If something goes wrong and I have a stack trace, that plus the type of exception will almost always be enough for me to figure out what's wrong at least as a starting point. I've worked mostly with JVM languages in my career though so maybe I just don't know how bad it actually is.

[–] [email protected] 1 points 9 months ago

It's not bad. It's better than what most languages give you

[–] [email protected] 10 points 9 months ago (1 children)
[–] [email protected] 7 points 9 months ago (1 children)

The same applies to using the core dump.

In fact, the Python one is the lest useful of the trio.

[–] [email protected] 10 points 9 months ago

When the day comes that you need gdb you will indeed be amazed at how fucking powerful it is. If your server crashes grab that core dump!

[–] [email protected] 7 points 9 months ago

It's extraordinarily useful

[–] [email protected] 1 points 9 months ago

Implying you can't consistently go to the same line every time and it always has what you need.