debug_backtrace supports only one level of backtrace but here we store the line of the last instruction then go through the byte code.