mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Mention use of pdb.py to run a script (AMK).
This commit is contained in:
parent
94adab5e17
commit
809408eb90
2 changed files with 8 additions and 0 deletions
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue