pdb加载
import pdb
pdb.set_trace()
pdb命令
b file.py:line
break
p
a
all
n
next
l
list
s
step
r
run
python内置方法
class.__mro__
__init__
dir(xxx)
type(xxx)
__call__()
xxx.__dict__
pdb加载
import pdb
pdb.set_trace()
pdb命令
b file.py:line
break
p
a
all
n
next
l
list
s
step
r
run
python内置方法
class.__mro__
__init__
dir(xxx)
type(xxx)
__call__()
xxx.__dict__