summaryrefslogtreecommitdiffstats
path: root/Doc/library/bdb.rst
diff options
context:
space:
mode:
authorTian Gao <gaogaotiantian@hotmail.com>2024-05-05 14:05:01 (GMT)
committerGitHub <noreply@github.com>2024-05-05 14:05:01 (GMT)
commit5a0022a1d70e4f7f781c4e8d7b43e9f5c9e2f0b4 (patch)
tree8c09eeaf89321d4ead5da8808ccdaeafeb0900f2 /Doc/library/bdb.rst
parent1511bc95c4bc95bd35599dc9c88111c9aac44c0d (diff)
downloadcpython-5a0022a1d70e4f7f781c4e8d7b43e9f5c9e2f0b4.zip
cpython-5a0022a1d70e4f7f781c4e8d7b43e9f5c9e2f0b4.tar.gz
cpython-5a0022a1d70e4f7f781c4e8d7b43e9f5c9e2f0b4.tar.bz2
GH-111744: Make breakpoint() enter the debugger immediately (GH-118579)
Diffstat (limited to 'Doc/library/bdb.rst')
-rw-r--r--Doc/library/bdb.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/bdb.rst b/Doc/library/bdb.rst
index b050560..504fbd0 100644
--- a/Doc/library/bdb.rst
+++ b/Doc/library/bdb.rst
@@ -289,6 +289,10 @@ The :mod:`bdb` module also defines two classes:
Start debugging from *frame*. If *frame* is not specified, debugging
starts from caller's frame.
+ .. versionchanged:: 3.13
+ :func:`set_trace` will enter the debugger immediately, rather than
+ on the next line of code to be executed.
+
.. method:: set_continue()
Stop only at breakpoints or when finished. If there are no breakpoints,