Python stepping command record

During this time I have been trying to Python, currently collected stepping command as follows:

python -m pdb test.py

After setting a breakpoint operation: b: line number or b test.py; line number

View breakpoint number: b

Remove breakpoints: cl Number

Single-step operation: n

Skip to the next breakpoint: c

Check the operation of the parameters: p param view parameters

Check to run somewhere code: l

Print variable values: pp

See all within the stack variables: a

Exit: exit or q

Help: help

Guess you like

Origin www.cnblogs.com/yuanhangtu/p/barry_tu.html