summaryrefslogtreecommitdiffstats
path: root/Doc/library/pdb.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-02-04 03:57:34 (GMT)
committerGitHub <noreply@github.com>2023-02-04 03:57:34 (GMT)
commitdbdbc796d264b8d63c89c2ca3ea9634bbaee2d2d (patch)
treee2eb332f8d414001b299d199604f481f2fcd3cff /Doc/library/pdb.rst
parent3139ea33ed84190e079d6ff4859baccdad778dae (diff)
downloadcpython-dbdbc796d264b8d63c89c2ca3ea9634bbaee2d2d.zip
cpython-dbdbc796d264b8d63c89c2ca3ea9634bbaee2d2d.tar.gz
cpython-dbdbc796d264b8d63c89c2ca3ea9634bbaee2d2d.tar.bz2
GH-56426: Add cross-reference to the documentation for faulthandler, traceback, and pdb. (GH-101157)
(cherry picked from commit cef9de62b8bf5e2d11d5a074012dfa81dc4ea935) Co-authored-by: Furkan Onder <furkanonder@protonmail.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Diffstat (limited to 'Doc/library/pdb.rst')
-rw-r--r--Doc/library/pdb.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/library/pdb.rst b/Doc/library/pdb.rst
index dcd509d..c87e327 100644
--- a/Doc/library/pdb.rst
+++ b/Doc/library/pdb.rst
@@ -27,6 +27,15 @@ The debugger is extensible -- it is actually defined as the class :class:`Pdb`.
This is currently undocumented but easily understood by reading the source. The
extension interface uses the modules :mod:`bdb` and :mod:`cmd`.
+.. seealso::
+
+ Module :mod:`faulthandler`
+ Used to dump Python tracebacks explicitly, on a fault, after a timeout,
+ or on a user signal.
+
+ Module :mod:`traceback`
+ Standard interface to extract, format and print stack traces of Python programs.
+
The debugger's prompt is ``(Pdb)``. Typical usage to run a program under control
of the debugger is::