add panic trace