Changeset 84
- Timestamp:
- 04/08/05 21:48:47 (7 years ago)
- Location:
- WingDBG/trunk/WingDBG
- Files:
-
- 2 modified
-
WingDBG.py (modified) (3 diffs)
-
www/configure.pt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
WingDBG/trunk/WingDBG/WingDBG.py
r83 r84 227 227 return not not findInternalWinghome(self.wing_home) 228 228 229 security.declareProtected(VIEW_PERMISSION, 'debugStubLoaded')230 def debugStubLoaded(self):231 """Return true if wingdbg has already been imported once"""232 return gNetServer is not None233 234 229 security.declareProtected(VIEW_PERMISSION, 'getProfileDir') 235 230 def getProfileDir(self): … … 309 304 if self.script_support: 310 305 ScriptDebugging.unpatch() 306 307 self._unload_wingdb_modules() 311 308 312 309 security.declareProtected(USE_PERMISSION, 'connectIDE') … … 362 359 return gNetServer 363 360 361 security.declarePrivate('_unload_wingdb_modules') 362 def _unload_wingdb_modules(self): 363 """Remove the Wing debugger modules 364 365 This so we can load them from a different location if our winghome 366 is changed. 367 368 """ 369 for name in ('wingdb', 'netserver'): 370 if sys.modules.has_key(name): 371 del sys.modules[name] 372 364 373 security.declarePrivate('__create_debugger') 365 374 def __create_debugger(self): -
WingDBG/trunk/WingDBG/www/configure.pt
r76 r84 28 28 not here.wingHomeIsValid()"> 29 29 This is not a valid Wing installation. Please verify the path. 30 </div>31 <div class="system-msg" style="color: red"32 tal:condition="here/debugStubLoaded">33 Wing debug module already loaded once;34 changes to the Wing home will not take effect until after a35 Zope restart.36 30 </div> 37 31 <div class="form-help">
