Changeset 325
- Timestamp:
- 08/27/06 17:10:21 (2 years ago)
- Files:
-
- z3wingdbg/trunk/CHANGELOG.txt (modified) (2 diffs)
- z3wingdbg/trunk/configuration.py (modified) (1 diff)
- z3wingdbg/trunk/debugger/networkdebugger.py (modified) (3 diffs)
- z3wingdbg/trunk/interfaces.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
z3wingdbg/trunk/CHANGELOG.txt
r320 r325 11 11 :Date: Not yet released 12 12 13 : New Features:13 :Changes: 14 14 15 15 - Switched to using zope.app.generations for installing persistent … … 17 17 18 18 :Bug fixes: 19 20 - Tightened up the twisted mainloop integration, clearing up some cornercases. 19 21 20 22 z3wingdbg 0.1.0 z3wingdbg/trunk/configuration.py
r292 r325 27 27 idePort = 50005 28 28 29 attachPort = None 30 29 31 serverType = u'http' 30 32 z3wingdbg/trunk/debugger/networkdebugger.py
r292 r325 44 44 _networkserver = None 45 45 46 def __init__(self, wing_home, host, port ):46 def __init__(self, wing_home, host, port, attachport): 47 47 pathinfo = component.getUtility(IWingPathInformation) 48 48 nsmodule = component.getUtility(INetServerModule) … … 55 55 'supports one active debugger per process.') 56 56 57 attachport = (attachport is None) and -1 or attachport 58 57 59 logger = netserver.abstract.CErrStream((LogWrapper(),)) 60 import pdb; pdb.set_trace() 58 61 server = netserver.CNetworkServer( 59 host, port, -1, logger,62 host, port, attachport, logger, 60 63 pwfile_path=(netserver.abstract.kPWFilePathUserProfileDir,)) 61 64 … … 93 96 94 97 def createDebugger(config): 95 return NetworkDebugger(config.wingHome, config.ideHost, config.idePort) 98 return NetworkDebugger(config.wingHome, config.ideHost, config.idePort, 99 config.attachPort) 96 100 97 101 factory = component.factory.Factory( z3wingdbg/trunk/interfaces.py
r298 r325 145 145 default=True) 146 146 147 attachPort = schema.Int( 148 title=_(u'Attachment port'), 149 description=_(u'attach-port-description', 150 u'Optional port where the debugger will listen for ' 151 u'incoming connections from the Wing IDE.'), 152 default=None, 153 min=0, 154 max=65535, 155 required=False) 156 147 157 class IDebugServerConfiguration(interface.Interface): 148 158 """Debug server configuration"""
