导航

python程序里加入调试断点

Posted on 2015-11-09 16:21  网名还没想好  阅读(280)  评论(0编辑  收藏  举报

在需要打断的地方加入:import pdb;pdb.set_trace()即可

如: