pdb


Author: yifei / Created: Nov. 28, 2017, 7:47 a.m. / Modified: Nov. 28, 2017, 3:48 p.m. / Edit

常用命令

pdb

pdb is fine, just don’t have so many features

Usage: import pdb; pdb.set_trace()

Ipdb is better

Usage: import ipdb; ipdb.set_trace() n next p print pp pprint s setp into c continue to next breakpoint b breakpoint a args


有任何问题可以发邮件到 kongyifei (at) gmail.com 讨论