]> granicus.if.org Git - python/commitdiff
Mention use of pdb.py to run a script (AMK).
authorGuido van Rossum <guido@python.org>
Mon, 2 Jun 1997 17:28:16 +0000 (17:28 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 2 Jun 1997 17:28:16 +0000 (17:28 +0000)
Doc/lib/libpdb.tex
Doc/libpdb.tex

index a439363734dbecac7f7efce1abd89f2365d3ddbb..4153c7048184d9b3b9a336ac30ccda23a15aad40 100644 (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}
index a439363734dbecac7f7efce1abd89f2365d3ddbb..4153c7048184d9b3b9a336ac30ccda23a15aad40 100644 (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}