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.
138 0 Replylet's not act like Java's error log is useful
115 0 ReplyMy 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.
82 0 ReplyPython: So you used spaces and tabs for indentation? NOW DIE!
80 0 ReplyRust developer: I'd like to compile some code
Rust compiler: the fuck you are
74 0 Replygdb: Am I a joke to you?
61 0 ReplyEmbedded C entered the chat
53 0 ReplyImagine unironically praising Java.
52 0 Reply50 0 ReplyThis C++ message has an urgency vibes to it:
"Segmentation fault!! Drop the Nuclear Reactor quick!!"
37 0 Replygdb ./fuck r where
you should get a complete stack trace (complete with values of some function arguments)
28 0 ReplyNevermind 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++.
25 0 ReplyNo bounds checking, only fast.
23 0 ReplyJoke on you until the python program segfaults
20 0 ReplyThe developer must either provide the logging and attach a debugger or go get fucked when a runtime error happens
19 0 ReplyI 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.
17 0 ReplyMore like 100 lines of template errors
11 0 ReplyWhere's rust?
9 0 ReplyThe ole' single C++ error turning into 600 lines of issues
7 0 ReplyAt least you are getting a dump, count your blessings. Could be worse!
Just hook your app to a debugger and load the dump.
5 0 ReplyC#: Time for a treasure hunt! Find the Null Reference Exception. Here's a map. X marks the spot.
4 0 Replyputs me in mind of the old guru meditation error messages that popped up in the stone knives and bearskins era of computing.
3 0 ReplyWhy doesn't JavaScript have tracebacks?
2 0 Reply