Add backtrace capture