From: SourceForge.net <no...@so...> - 2003-11-25 19:24:57
|
Bugs item #849191, was opened at 2003-11-25 12:24 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=849191&group_id=78018 Category: pythonwin Group: None Status: Open Resolution: None 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 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=849191&group_id=78018 |