Also print backtrace before reset when DEBUG. This will help debug safe mode issues which calls reset.