[pywin32-bugs] [ pywin32-Bugs-849191 ] SaveBarState called too many times
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2004-10-09 06:07:36
|
Bugs item #849191, was opened at 2003-11-26 06:24 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=849191&group_id=78018 Category: pythonwin Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Waldemar Osuch (osuchw) Assigned to: Nobody/Anonymous (nobody) Summary: SaveBarState called too many times Initial Comment: I have noticed that after a debuggin session in Pythonwin my HKEY_CURRENT_USER\Software\Python 2.3\Python for Win32 registry key can grow very large. It seems that the way I work: - step trough the code in debuger. - find and fix an error. - stop debugger. - repeat. provokes uncontrollable frenzy of writing to registry the state of toolbars. On a few occasions I ended up with over a thousand 'ToolbarDebugging-Bar%s' %i entries i beeing as high as 1500. If not stopped Pythonwin gives <Could not load toolbar state> message and continue to work but very slowly. My workaround is: - delete the offending registry key - start Pythonwin - set the preferences to my liking. - start debugging sessions. Set prefrences again. - close Pythonwin. - comment out line 462 in Pythonwin\pywin\debugger.py I have observed the same behaviour for versions of Pythonwin going back as far v.154 on Windows2000 and Win98 ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2004-10-09 16:07 Message: Logged In: YES user_id=14198 *sigh*, yep, and I can't find a solution other than to comment out that line. So it has been. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=849191&group_id=78018 |