Refactor the stack trace-capturing debug trap
Refactor the stack trace-capturing debug trap

thomasleveil/bats,mjhsieh/bats,jszwedko/bats,aerickson/bats,sstephenson/bats,Anvil/bats,msabramo/bats,rvesse/bats,ztombol/bats,ev3dev/bats,Tiger66639/bats,Sylvain303/bats