Show
Ignore:
Timestamp:
08/27/06 22:28:54 (6 years ago)
Author:
mj
Message:

Finalize remote attachment (most changes already checked in earlier by mistake). No password control yet

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • z3wingdbg/trunk/debugger/networkdebugger.py

    r325 r327  
    5555                'supports one active debugger per process.') 
    5656         
    57         attachport = (attachport is None) and -1 or attachport 
     57        attach = (attachport is None) and -1 or attachport 
    5858         
    5959        logger = netserver.abstract.CErrStream((LogWrapper(),)) 
    60         import pdb; pdb.set_trace() 
    6160        server = netserver.CNetworkServer( 
    62             host, port, attachport, logger, 
     61            host, port, attach, logger, 
    6362            pwfile_path=(netserver.abstract.kPWFilePathUserProfileDir,)) 
    6463         
    6564        # netserver insists we set a non-empty string, but securechannel  
    6665        # ignores it completely when the channel is set to NoEncryption 
    67         server.SetSecurityInfo(netserver.abstract.securechannel.kNoEncryption, 
    68                                'ignored') 
     66        if attachport is None: 
     67            server.SetSecurityInfo( 
     68                netserver.abstract.securechannel.kNoEncryption, 'ignored') 
    6969         
    7070        # We set our own sockethook later