Changeset 325

Show
Ignore:
Timestamp:
08/27/06 17:10:21 (2 years ago)
Author:
mj
Message:

Update changelog

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • z3wingdbg/trunk/CHANGELOG.txt

    r320 r325  
    1111:Date: Not yet released 
    1212 
    13 :New Features: 
     13:Changes: 
    1414 
    1515 - Switched to using zope.app.generations for installing persistent 
     
    1717 
    1818:Bug fixes: 
     19 
     20 - Tightened up the twisted mainloop integration, clearing up some cornercases. 
    1921 
    2022z3wingdbg 0.1.0 
  • z3wingdbg/trunk/configuration.py

    r292 r325  
    2727    idePort = 50005 
    2828     
     29    attachPort = None 
     30     
    2931    serverType = u'http' 
    3032     
  • z3wingdbg/trunk/debugger/networkdebugger.py

    r292 r325  
    4444    _networkserver = None 
    4545     
    46     def __init__(self, wing_home, host, port): 
     46    def __init__(self, wing_home, host, port, attachport): 
    4747        pathinfo = component.getUtility(IWingPathInformation) 
    4848        nsmodule = component.getUtility(INetServerModule) 
     
    5555                'supports one active debugger per process.') 
    5656         
     57        attachport = (attachport is None) and -1 or attachport 
     58         
    5759        logger = netserver.abstract.CErrStream((LogWrapper(),)) 
     60        import pdb; pdb.set_trace() 
    5861        server = netserver.CNetworkServer( 
    59             host, port, -1, logger, 
     62            host, port, attachport, logger, 
    6063            pwfile_path=(netserver.abstract.kPWFilePathUserProfileDir,)) 
    6164         
     
    9396         
    9497def createDebugger(config): 
    95     return NetworkDebugger(config.wingHome, config.ideHost, config.idePort) 
     98    return NetworkDebugger(config.wingHome, config.ideHost, config.idePort, 
     99                           config.attachPort) 
    96100 
    97101factory = component.factory.Factory( 
  • z3wingdbg/trunk/interfaces.py

    r298 r325  
    145145        default=True) 
    146146     
     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     
    147157class IDebugServerConfiguration(interface.Interface): 
    148158    """Debug server configuration"""