[pywin32-bugs] [ pywin32-Bugs-3058010 ] breakpoint delete crash
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2010-10-27 01:25:57
|
Bugs item #3058010, was opened at 2010-09-02 16:58 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3058010&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: pythonwin Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: kxroberto (kxroberto) Assigned to: Nobody/Anonymous (nobody) Summary: breakpoint delete crash Initial Comment: File "C:\Python26\Lib\site-packages\pythonwin\pywin\debugger\debugger.py", line 267, in OnKeyDown return DebuggerWindow.OnKeyDown(self, msg) File "C:\Python26\Lib\site-packages\pythonwin\pywin\debugger\debugger.py", line 164, in OnKeyDown self.DeleteSelected() File "C:\Python26\Lib\site-packages\pythonwin\pywin\debugger\debugger.py", line 333, in DeleteSelected for bplist in Breakpoint.bplist.itervalues(): RuntimeError: dictionary changed size during iteration ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2010-10-27 12:25 Message: Fixed - thanks! Checking in Pythonwin/pywin/debugger/debugger.py; new revision: 1.27; previous revision: 1.26 ---------------------------------------------------------------------- Comment By: kxroberto (kxroberto) Date: 2010-10-26 09:18 Message: create a breakpoint debugger step-into F11 or so open breakpoint window. mark breakpoint and press delete key I guess the problem is directly with .itervalues itself : bplist changing during iteration . changed (back?) to .values() and seems to work then. bogus py3/2to3 however ... => list(...itervalues()) ? ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2010-10-23 12:07 Message: I can't repro this - can you please provide more details so I can? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3058010&group_id=78018 |