4 ms·
Debugging a C application which has already crashed without debugging/logging is what I meant. Assuming you don't add any specific debugging or exception handli
by rudolf0 11y ago
Debugging a C application which has already crashed without debugging/logging is what I meant. Assuming you don't add any specific debugging or exception handling code, in dynamic languages you're guaranteed to get at least a vaguely helpful exception message, and you will get one (for varying definitions of "helpful") sometimes in C++, too, if it did not segfault. You do not get that in C by default.
Sorry for the lack of clarity, my statement was incorrect as written.
- AnimalMuppet 11y agoIf you meant that and didn't state it perfectly, then I was too harsh. A mistaken idea may deserve a sharp reply; an incorrectly stated point does not.
- xamuel 11y agoIn dynamic languages you get an instant burst of maybe-helpful text. (Instant gratification) With C coredumps, you get a snapshot of the entire system at the moment it crashed. You can literally walk through everything that wasn't corrupted beyond reading. If the system is, for example, a multiplayer game, you can literally navigate the entire gameworld like a frozen snapshot. This can be very helpful for finding well-hidden bugs. We're professional developers. It is worth the tiny bit of learning curve in order to get more productivity out of our tools!