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

Programmer Humor

32561 readers
389 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
[–] lowleveldata@programming.dev 90 points 9 months ago (5 children)

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

[–] Aurenkin@sh.itjust.works 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.

[–] kaffiene@lemmy.world 1 points 9 months ago

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

[–] Fades@lemmy.world 10 points 9 months ago (1 children)
[–] marcos@lemmy.world 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.

[–] xmunk@sh.itjust.works 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!

[–] kaffiene@lemmy.world 7 points 9 months ago

It's extraordinarily useful

[–] Omega_Haxors@lemmy.ml 1 points 9 months ago

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