summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.13.rst
diff options
context:
space:
mode:
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
-----