From: Guido van Rossum Date: Mon, 2 Jun 1997 17:28:16 +0000 (+0000) Subject: Mention use of pdb.py to run a script (AMK). X-Git-Tag: v1.5a3~399 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=809408eb9055f4edc4f479750f0e7c671997012b;p=python Mention use of pdb.py to run a script (AMK). --- diff --git a/Doc/lib/libpdb.tex b/Doc/lib/libpdb.tex index a439363734..4153c70481 100644 --- a/Doc/lib/libpdb.tex +++ b/Doc/lib/libpdb.tex @@ -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} diff --git a/Doc/libpdb.tex b/Doc/libpdb.tex index a439363734..4153c70481 100644 --- a/Doc/libpdb.tex +++ b/Doc/libpdb.tex @@ -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}