> Maybe we could put the hex address at the front, and then pad it

It has a readability downside. The output is for consuming by humans, and
for humans the most valuable part is the function name. If the function
name does not help, then the source file name with the line do the job.
Putting address at the beginning of the output forces the user to look
through the output line and mentally skip the address, which is not hard
but causes minor inconvenience.

Addresses in GDB have value, because in GDB you could jump to the address.
While outputting std::stacktrace the debugger is rarely present, so the
address has less value.

Reply via email to