Honor G_DEBUG when generating backtraces
G_DEBUG=fatal-warning chatty -vvv
could be useful to have verbose logging and get coredumpctl catch a dump. But that doesn't work as show_backtrace
doesn't care about G_DEBUG
. Please make show_backtrace
a noop when G_DEBUG
is set so one can use standard debugging techniques without losing log verbosity.