]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Implement Restoring Breakpoints in Subprocess Debugger
authorKurt B. Kaiser <kbk@shore.net>
Wed, 23 Oct 2002 04:48:08 +0000 (04:48 +0000)
committerKurt B. Kaiser <kbk@shore.net>
Wed, 23 Oct 2002 04:48:08 +0000 (04:48 +0000)
commit45186c4ce08093d5f0d2f141f6e557e9726aedb4
treec0372b3d6da9fd10493365df9f589d9b7e9996c5
parent88f015dc8890960108e98a3114213ab258fda0c9
Implement Restoring Breakpoints in Subprocess Debugger

M Debugger.py
M EditorWindow.py
M PyShell.py

0. Polish PyShell.linecache_checkcache()
1. Move break clearing code to PyShell.PyShellEditorWindow from
   EditorWindow.
2. Add PyShellEditorWindow.breakpoints attribute to __init__, a list of
   line numbers which are breakpoints for that edit window.
3. Remove the code in Debugger which removes all module breakpoints when
   debugger is closed.  Want to be able to reload into debugger when
   restarted.
4. Moved the code which sets EditorWindow.text breakpoints from Debugger
   to PyShell.PyShellEditorWindow and refactored.
5. Implement reloading subprocess debugger with breakpoints from all open
   PyShellEditorWindows when debugger is opened or subprocess restarted.
6. Eliminate the break_set attribute, use the breakpoint list instead.
Lib/idlelib/Debugger.py
Lib/idlelib/EditorWindow.py
Lib/idlelib/PyShell.py