mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +00:00
[3.11] gh-79871: IDLE - Fix and test debugger module (GH-11451) (#112257)
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%.
---------
(cherry picked from commit adedcfa06b
)
Co-authored-by: Anthony Shaw <anthony.p.shaw@gmail.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
parent
93fbcd6443
commit
e19d75df76
5 changed files with 397 additions and 74 deletions
|
@ -1,3 +1,5 @@
|
|||
# Rename to stackbrowser or possibly consolidate with browser.
|
||||
|
||||
import linecache
|
||||
import os
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue