re-import $macro_backtrace patch and improve it by adding $n_args and $args