Except the C++ "Core dumped" line is telling you it just wrote a file out with the full state of the program at the time of the crash, you can load it up and see where it crashed and then go and look at what every local variable was at the time of the crash.
Pretty sure you can even step backwards in time with a good debugger to find out exactly how you got to the state you're currently in.
139Replylet's not act like Java's error log is useful
89ReplyMy favorite compile error happened while I was taking a Haskell class.
ghc: panic! (the 'impossible' happened)
The issue is plainly stated, and it provides clear next steps to the developer.
84ReplyPython: So you used spaces and tabs for indentation? NOW DIE!
77ReplyRust developer: I'd like to compile some code
Rust compiler: the fuck you are
73Replygdb: Am I a joke to you?
59ReplyEmbedded C entered the chat
54Reply 51ReplyImagine unironically praising Java.
39ReplyThis C++ message has an urgency vibes to it:
"Segmentation fault!! Drop the Nuclear Reactor quick!!"
37Replygdb ./fuck r where
you should get a complete stack trace (complete with values of some function arguments)
28ReplyNo bounds checking, only fast.
24ReplyNevermind that the C++ program is two orders of magnitude faster when completed.
I would love to learn and use Rust but I'm a embedded systems guy. Everything of consequence is C and C++.
22ReplyJoke on you until the python program segfaults
19ReplyThe developer must either provide the logging and attach a debugger or go get fucked when a runtime error happens
18ReplyI know this is supposed to be humorous, but there's a reason why these languages can, and are doing what they're doing.
Core dumps are also worth learning about, they're really helpful if you understand them.
17ReplyMore like 100 lines of template errors
11ReplyWhere's rust?
9ReplyAt least you are getting a dump, count your blessings. Could be worse!
Just hook your app to a debugger and load the dump.
5ReplyPermanently Deleted
5ReplyC#: Time for a treasure hunt! Find the Null Reference Exception. Here's a map. X marks the spot.
4Replyputs me in mind of the old guru meditation error messages that popped up in the stone knives and bearskins era of computing.
3ReplyWhy doesn't JavaScript have tracebacks?
2Reply