eric6/Debugger/DebuggerInterfacePython.py

branch
multi_processing
changeset 7408
0d58e708f57b
parent 7407
a0b6acee2c20
child 7409
1413bfe73d41
equal deleted inserted replaced
7407:a0b6acee2c20 7408:0d58e708f57b
1131 @param debuggerId ID of the debugger backend 1131 @param debuggerId ID of the debugger backend
1132 @type str 1132 @type str
1133 """ 1133 """
1134 self.__sendJsonCommand("RequestCapabilities", {}, debuggerId) 1134 self.__sendJsonCommand("RequestCapabilities", {}, debuggerId)
1135 1135
1136 def remoteCompletion(self, text): 1136 def remoteCompletion(self, debuggerId, text):
1137 """ 1137 """
1138 Public slot to get the a list of possible commandline completions 1138 Public slot to get the a list of possible commandline completions
1139 from the remote client. 1139 from the remote client.
1140 1140
1141 @param debuggerId ID of the debugger backend
1142 @type str
1141 @param text the text to be completed 1143 @param text the text to be completed
1142 @type str 1144 @type str
1143 """ 1145 """
1144 self.__sendJsonCommand("RequestCompletion", { 1146 self.__sendJsonCommand("RequestCompletion", {
1145 "text": text, 1147 "text": text,
1146 }) 1148 }, debuggerId)
1147 1149
1148 def remoteUTDiscover(self, syspath, workdir, discoveryStart): 1150 def remoteUTDiscover(self, syspath, workdir, discoveryStart):
1149 """ 1151 """
1150 Public method to perform a test case discovery. 1152 Public method to perform a test case discovery.
1151 1153
1465 self.debugServer.passiveStartUp( 1467 self.debugServer.passiveStartUp(
1466 self.translate(params["filename"], True), params["exceptions"], 1468 self.translate(params["filename"], True), params["exceptions"],
1467 params["debuggerId"]) 1469 params["debuggerId"])
1468 1470
1469 elif method == "ResponseCompletion": 1471 elif method == "ResponseCompletion":
1470 if params["debuggerId"] == self.__master: 1472 self.debugServer.signalClientCompletionList(
1471 # signal only for the master connection 1473 params["completions"], params["text"], params["debuggerId"])
1472 self.debugServer.signalClientCompletionList(
1473 params["completions"], params["text"])
1474 1474
1475 ################################################################### 1475 ###################################################################
1476 ## Unit test related stuff is not done with multi processing 1476 ## Unit test related stuff is not done with multi processing
1477 ################################################################### 1477 ###################################################################
1478 1478

eric ide

mercurial