summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/Debugger.py
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2002-12-14 04:38:51 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2002-12-14 04:38:51 (GMT)
commitbfed346259b27a51153b1f1bf5e4f062247e6246 (patch)
treeed48082640fcfea43b806d83d6f8086249691d18 /Lib/idlelib/Debugger.py
parent3c05c1f01e43e65705f5ff1ba8bce552c69321df (diff)
downloadcpython-bfed346259b27a51153b1f1bf5e4f062247e6246.zip
cpython-bfed346259b27a51153b1f1bf5e4f062247e6246.tar.gz
cpython-bfed346259b27a51153b1f1bf5e4f062247e6246.tar.bz2
M Debugger.py
M IOBinding.py M PyShell.py * Could not remove last set of saved breakpoints from a file * Starting with empty edit window, could not load a file * Multiple adjacent breakpoints were saved as one breakpoint * Storing breakpoints whenever a file is closed can get them out of synch with the saved version of a file. Only store them when the file is saved. * Add comment on current limitations on file editing in the presence of breakpoints. * Replace get_current_breaks() with update_breakpoints(), add an update to PyShellEditorWindow.breakpoints, which is the master breakpoint data structure, and which is used to reload the subprocess debugger. * Revert Debugger.Debugger.load_breakpoints() to use editwin.breakpoints. It is easier to debug the debugger if the breakpoint list in IDLE is identical to the list in the subprocess debugger and is transferred when the subprocess debugger is restarted, because this list can be easily queried. * Cleanup some linespacing and comments in IOBinding.py
Diffstat (limited to 'Lib/idlelib/Debugger.py')
-rw-r--r--Lib/idlelib/Debugger.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/Debugger.py b/Lib/idlelib/Debugger.py
index a82fdbb..30d0002 100644
--- a/Lib/idlelib/Debugger.py
+++ b/Lib/idlelib/Debugger.py
@@ -331,7 +331,7 @@ class Debugger:
for editwin in pyshell_edit_windows:
filename = editwin.io.filename
try:
- for lineno in editwin.get_current_breaks():
+ for lineno in editwin.breakpoints:
self.set_breakpoint_here(filename, lineno)
except AttributeError:
continue