Can't use print_debug_backtrace() due to the handling of that function.