summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-06-02 17:28:16 (GMT)
committerGuido van Rossum <guido@python.org>1997-06-02 17:28:16 (GMT)
commit809408eb9055f4edc4f479750f0e7c671997012b (patch)
tree12f12a57a882e1eb7967aa323a6d28cd73e7bd34 /Doc
parent94adab5e17e2e0a5ad040752f99670081956ba50 (diff)
downloadcpython-809408eb9055f4edc4f479750f0e7c671997012b.zip
cpython-809408eb9055f4edc4f479750f0e7c671997012b.tar.gz
cpython-809408eb9055f4edc4f479750f0e7c671997012b.tar.bz2
Mention use of pdb.py to run a script (AMK).
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libpdb.tex4
-rw-r--r--Doc/libpdb.tex4
2 files changed, 8 insertions, 0 deletions
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}