Mention use of pdb.py to run a script (AMK).

This commit is contained in:
Guido van Rossum 1997-06-02 17:28:16 +00:00
parent 94adab5e17
commit 809408eb90
2 changed files with 8 additions and 0 deletions

View file

@ -41,6 +41,10 @@ NameError: 'spam'
(Pdb)
\end{verbatim}
\code{pdb.py} can also be invoked as
a script to debug other scripts. For example:
\code{python /usr/local/lib/python1.4/pdb.py myscript.py}
Typical usage to inspect a crashed program is:
\begin{verbatim}

View file

@ -41,6 +41,10 @@ NameError: 'spam'
(Pdb)
\end{verbatim}
\code{pdb.py} can also be invoked as
a script to debug other scripts. For example:
\code{python /usr/local/lib/python1.4/pdb.py myscript.py}
Typical usage to inspect a crashed program is:
\begin{verbatim}