Debugger/DebuggerInterfaceNone.py

changeset 6352
4bdc6503df81
parent 6048
82ad8ec9548c
child 6354
9ec941fc1a91
equal deleted inserted replaced
6351:27ce01e44a5f 6352:4bdc6503df81
36 self.qsock = None 36 self.qsock = None
37 self.queue = [] 37 self.queue = []
38 # set default values for capabilities of clients 38 # set default values for capabilities of clients
39 self.clientCapabilities = ClientDefaultCapabilities 39 self.clientCapabilities = ClientDefaultCapabilities
40 40
41 def startRemote(self, port, runInConsole, interpreter): 41 def startRemote(self, port, runInConsole, venvName):
42 """ 42 """
43 Public method to start a remote Python interpreter. 43 Public method to start a remote Python interpreter.
44 44
45 @param port port number the debug server is listening on (integer) 45 @param port port number the debug server is listening on
46 @type int
46 @param runInConsole flag indicating to start the debugger in a 47 @param runInConsole flag indicating to start the debugger in a
47 console window (boolean) 48 console window
48 @param interpreter interpreter to be used to execute the remote 49 @type bool
49 side (string) 50 @param venvName name of the virtual environment to be used
50 @return client process object (QProcess), a flag to indicate 51 @type str
51 a network connection (boolean) and the name of the interpreter 52 @return client process object, a flag to indicate a network connection
52 in case of a local execution (string) 53 and the name of the interpreter in case of a local execution
54 @rtype tuple of (QProcess, bool, str)
53 """ 55 """
54 return None, True, "" 56 return None, True, ""
55 57
56 def startRemoteForProject(self, port, runInConsole, interpreter): 58 def startRemoteForProject(self, port, runInConsole, venvName):
57 """ 59 """
58 Public method to start a remote Python interpreter for a project. 60 Public method to start a remote Python interpreter for a project.
59 61
60 @param port port number the debug server is listening on (integer) 62 @param port port number the debug server is listening on
63 @type int
61 @param runInConsole flag indicating to start the debugger in a 64 @param runInConsole flag indicating to start the debugger in a
62 console window (boolean) 65 console window
63 @param interpreter interpreter to be used to execute the remote 66 @type bool
64 side (string) 67 @param venvName name of the virtual environment to be used
65 @return client process object (QProcess), a flag to indicate 68 @type str
66 a network connection (boolean) and the name of the interpreter 69 @return client process object, a flag to indicate a network connection
67 in case of a local execution (string) 70 and the name of the interpreter in case of a local execution
71 @rtype tuple of (QProcess, bool, str)
68 """ 72 """
69 return None, True, "" 73 return None, True, ""
70 74
71 def getClientCapabilities(self): 75 def getClientCapabilities(self):
72 """ 76 """

eric ide

mercurial