Add backtrace info to dumpSql