Skip to content

Commit

Permalink
pythongh-96197: Define the behavior of breakpoint if sys.breakpointho…
Browse files Browse the repository at this point in the history
…ok is lost (pythongh-96231)
  • Loading branch information
corona10 authored Aug 24, 2022
1 parent a4a9f2e commit 09563a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Doc/library/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ are always available. They are listed here in alphabetical order.
:func:`sys.breakpointhook` can be set to some other function and
:func:`breakpoint` will automatically call that, allowing you to drop into
the debugger of choice.
If :func:`sys.breakpointhook` is not available to be called, this function will
raise :exc:`RuntimeError`.

.. audit-event:: builtins.breakpoint breakpointhook breakpoint

Expand Down

0 comments on commit 09563a7

Please sign in to comment.