diff -r a0b6acee2c20 -r 0d58e708f57b eric6/Debugger/DebugServer.py --- a/eric6/Debugger/DebugServer.py Mon Feb 10 18:49:49 2020 +0100 +++ b/eric6/Debugger/DebugServer.py Mon Feb 10 19:49:45 2020 +0100 @@ -86,9 +86,9 @@ the client banner data was received @signal clientCapabilities(capabilities, cltype, venvname) emitted after the clients capabilities were received - @signal clientCompletionList(completionList, text) emitted after the client - the commandline completion list and the reworked searchstring was - received from the client + @signal clientCompletionList(completionList, text, debuggerId) emitted + after the client the commandline completion list and the reworked + search string was received from the client @signal passiveDebugStarted(str, bool) emitted after the debug client has connected in passive debug mode @signal clientGone(bool) emitted if the client went away (planned or @@ -146,7 +146,7 @@ clientRawInput = pyqtSignal(str, bool, str) clientBanner = pyqtSignal(str, str, str, str) clientCapabilities = pyqtSignal(int, str, str) - clientCompletionList = pyqtSignal(list, str) + clientCompletionList = pyqtSignal(list, str, str) clientInterpreterChanged = pyqtSignal(str) clientDebuggerIds = pyqtSignal(list) utDiscovered = pyqtSignal(list, str, str) @@ -1468,14 +1468,16 @@ """ self.debuggerInterface.remoteCapabilities() - def remoteCompletion(self, text): + def remoteCompletion(self, debuggerId, text): """ Public slot to get the a list of possible commandline completions from the remote client. - @param text the text to be completed (string) + @param debuggerId ID of the debugger backend + @type str + @param text the text to be completed + @type str """ - # TODO: send this to the currently selected debugger self.debuggerInterface.remoteCompletion(text) def remoteUTDiscover(self, clientType, forProject, venvName, syspath, @@ -1901,7 +1903,7 @@ # ignore silently pass - def signalClientCompletionList(self, completionList, text): + def signalClientCompletionList(self, completionList, text, debuggerId): """ Public method to process the client auto completion info. @@ -1909,6 +1911,8 @@ @type list of str @param text the text to be completed @type str + @param debuggerId ID of the debugger backend + @type str """ self.clientCompletionList.emit(completionList, text)