Changeset 84 for WingDBG/trunk/WingDBG/WingDBG.py
- Timestamp:
- 04/08/05 21:48:47 (7 years ago)
- Files:
-
- 1 modified
-
WingDBG/trunk/WingDBG/WingDBG.py (modified) (3 diffs)
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):
