3 ms·
It's not clear that a nicely formatted error message is preferable to a core dump. With a core dump one can explore the execution environment at the time of th
by apw 12y ago
It's not clear that a nicely formatted error message is preferable to a core dump.
With a core dump one can explore the execution environment at the time of the crash.
A nice compromise is a macro that prints an error message and then calls __builtin_trap().
- afarrell 12y agoBut a nicely formatted error message, so long as it is correct, can be read by many more people than a core dump. I don't know how I would read a core dump of an error in a python program to understand where an exception came from.