summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.13.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/whatsnew/3.13.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/whatsnew/3.13.rst')
-rw-r--r--Doc/whatsnew/3.13.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst
index 27a1aea..c76d008 100644
--- a/Doc/whatsnew/3.13.rst
+++ b/Doc/whatsnew/3.13.rst
@@ -715,6 +715,12 @@ pdb
* :mod:`zipapp` is supported as a debugging target.
(Contributed by Tian Gao in :gh:`118501`.)
+* ``breakpoint()`` and ``pdb.set_trace()`` now enter the debugger immediately
+ rather than on the next line of code to be executed. This change prevents the
+ debugger from breaking outside of the context when ``breakpoint()`` is positioned
+ at the end of the context.
+ (Contributed by Tian Gao in :gh:`118579`.)
+
queue
-----