In Linux, you can use debugging at the interface and command line, where you record command-line debugging
At the command line, use the
python27-m pdb use_infix2postfix.py to enter debug mode
>/root/py/algor/use_infix2postfix.py (7) <module> ()
Import types This is the first statement of the script
H (ELP)
(Pdb) H
Documented commands (Type help <topic>):
========================================
EOF BT Cont enable jump PP Run unt
A C continue exit L Q s until
Alias Cl D H List quit step up
Args Clear Debug Help n r tbreak W
b commands disable ignore next restart U whatis
Break condition down J P return Unalias where
can display the available parameters
4.
(Pdb) H n
N (EXT)
Continue execution until the next line in the current function
is reached or it returns.
5.
(Pdb) H n
N (EXT)
Continue execution until the next line in the current function
is reached or it returns.
In this way, you can find different usage parameters and details on your own.
Debug pdb for Python in Linux