添加trace