From 809408eb9055f4edc4f479750f0e7c671997012b Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 2 Jun 1997 17:28:16 +0000 Subject: Mention use of pdb.py to run a script (AMK). --- Doc/lib/libpdb.tex | 4 ++++ Doc/libpdb.tex | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/Doc/lib/libpdb.tex b/Doc/lib/libpdb.tex index a439363..4153c70 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 a439363..4153c70 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} -- cgit v0.12