diff options
author | Anthony Shaw <anthony.p.shaw@gmail.com> | 2023-11-19 04:20:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-19 04:20:38 (GMT) |
commit | adedcfa06b553242d8033f6d9bebbcb3bc0dbb4d (patch) | |
tree | 323d5c4a3d354d949826d2f46e0287248bd8ab18 /Misc | |
parent | 18c692946953e586db432fd06c856531a2b05127 (diff) | |
download | cpython-adedcfa06b553242d8033f6d9bebbcb3bc0dbb4d.zip cpython-adedcfa06b553242d8033f6d9bebbcb3bc0dbb4d.tar.gz cpython-adedcfa06b553242d8033f6d9bebbcb3bc0dbb4d.tar.bz2 |
gh-79871: IDLE - Fix and test debugger module (#11451)
Add docstrings to the debugger module. Fix two bugs: initialize Idb.botframe (should be in Bdb); In Idb.in_rpc_code, check whether prev_frame is None before trying to use it. Make other code changes.
Expand test_debugger coverage from 19% to 66%.
---------
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/IDLE/2019-01-07-06-18-25.bpo-35668.JimxP5.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/IDLE/2019-01-07-06-18-25.bpo-35668.JimxP5.rst b/Misc/NEWS.d/next/IDLE/2019-01-07-06-18-25.bpo-35668.JimxP5.rst new file mode 100644 index 0000000..8bb5420 --- /dev/null +++ b/Misc/NEWS.d/next/IDLE/2019-01-07-06-18-25.bpo-35668.JimxP5.rst @@ -0,0 +1,4 @@ +Add docstrings to the IDLE debugger module. Fix two bugs: +initialize Idb.botframe (should be in Bdb); in Idb.in_rpc_code, +check whether prev_frame is None before trying to use it. +Greatly expand test_debugger. |