diff options
author | Furkan Onder <furkanonder@protonmail.com> | 2023-02-04 03:49:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-04 03:49:29 (GMT) |
commit | cef9de62b8bf5e2d11d5a074012dfa81dc4ea935 (patch) | |
tree | 0c24c605b28015fbdf6aae8c04eeba71985cbd82 /Doc/library/faulthandler.rst | |
parent | f11a3d1ebe0c78f8c159c63a37022b9b96f720dd (diff) | |
download | cpython-cef9de62b8bf5e2d11d5a074012dfa81dc4ea935.zip cpython-cef9de62b8bf5e2d11d5a074012dfa81dc4ea935.tar.gz cpython-cef9de62b8bf5e2d11d5a074012dfa81dc4ea935.tar.bz2 |
GH-56426: Add cross-reference to the documentation for faulthandler, traceback, and pdb. (#101157)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Diffstat (limited to 'Doc/library/faulthandler.rst')
-rw-r--r-- | Doc/library/faulthandler.rst | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Doc/library/faulthandler.rst b/Doc/library/faulthandler.rst index 07a7489..f64dfeb 100644 --- a/Doc/library/faulthandler.rst +++ b/Doc/library/faulthandler.rst @@ -43,6 +43,13 @@ Python is deadlocked. The :ref:`Python Development Mode <devmode>` calls :func:`faulthandler.enable` at Python startup. +.. seealso:: + + Module :mod:`pdb` + Interactive source code debugger for Python programs. + + Module :mod:`traceback` + Standard interface to extract, format and print stack traces of Python programs. Dumping the traceback --------------------- @@ -52,6 +59,8 @@ Dumping the traceback Dump the tracebacks of all threads into *file*. If *all_threads* is ``False``, dump only the current thread. + .. seealso:: :func:`traceback.print_tb`, which can be used to print a traceback object. + .. versionchanged:: 3.5 Added support for passing file descriptor to this function. @@ -178,4 +187,3 @@ handler: File "/home/python/cpython/Lib/ctypes/__init__.py", line 486 in string_at File "<stdin>", line 1 in <module> Segmentation fault - |