reworked debug backtrace class