Changeset 285

Show
Ignore:
Timestamp:
08/11/06 13:41:13 (2 years ago)
Author:
mj
Message:

Add auto-connecting; connect to the IDE when the server starts

Files:

Legend:

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

    r283 r285  
    1010 
    1111- Use custom permissions 
    12 - Implement auto-connect 
    1312- Implement auto-reconnect 
    1413- Implement auto-start 
  • z3wingdbg/trunk/configuration.py

    r239 r285  
    2525     
    2626    serverType = u'http' 
     27     
     28    autoConnect = True 
    2729 
    2830def ensureConfiguration(root_folder, serverType, factory,  
  • z3wingdbg/trunk/interfaces.py

    r279 r285  
    128128        vocabulary=u'z3wingdbg.servertypes') 
    129129     
     130    autoConnect = schema.Bool( 
     131        title=_(u'Auto-connect IDE'), 
     132        description=_(u'Automatically try to connect to the IDE when the ' 
     133                      u'debug server is started'), 
     134        default=True) 
     135     
    130136class IDebugServerConfiguration(interface.Interface): 
    131137    """Debug server configuration""" 
  • z3wingdbg/trunk/wingdebugservice.py

    r282 r285  
    5555         
    5656        self.server = serverFactory(serverconfig, self.debugger) 
     57         
     58        if config.autoConnect: 
     59            self.connectIDE() 
    5760     
    5861    def stopDebugServer(self):