eric6/Debugger/DebugServer.py

branch
multi_processing
changeset 7412
0a995393d2ba
parent 7411
6d8dcb3551b3
child 7416
6f899e82f9a2
--- a/eric6/Debugger/DebugServer.py	Thu Feb 13 19:27:10 2020 +0100
+++ b/eric6/Debugger/DebugServer.py	Fri Feb 14 19:52:37 2020 +0100
@@ -82,7 +82,7 @@
         client has signaled a syntax error in a watch expression
     @signal clientRawInput(prompt, echo, debuggerId) emitted after a raw input
         request was received
-    @signal clientBanner(version, platform, dbgclient, venvname) emitted after
+    @signal clientBanner(version, platform, venvname) emitted after
         the client banner data was received
     @signal clientCapabilities(capabilities, cltype, venvname) emitted after
         the clients capabilities were received
@@ -119,8 +119,8 @@
         toFunction, debuggerId)
     @signal appendStdout(msg) emitted when a passive debug connection is
         established or lost
-    @signal clientDebuggerIds(debuggerIds) emitted to give the list of IDs of
-        attached debugger backends
+    @signal clientDebuggerId(debuggerId) emitted to indicate a newly connected
+        debugger backend
     """
     clientClearBreak = pyqtSignal(str, int, str)
     clientClearWatch = pyqtSignal(str, str)
@@ -144,11 +144,11 @@
     clientBreakConditionError = pyqtSignal(str, int, str)
     clientWatchConditionError = pyqtSignal(str, str)
     clientRawInput = pyqtSignal(str, bool, str)
-    clientBanner = pyqtSignal(str, str, str, str)
+    clientBanner = pyqtSignal(str, str, str)
     clientCapabilities = pyqtSignal(int, str, str)
     clientCompletionList = pyqtSignal(list, str, str)
     clientInterpreterChanged = pyqtSignal(str)
-    clientDebuggerIds = pyqtSignal(list)
+    clientDebuggerId = pyqtSignal(str)
     utDiscovered = pyqtSignal(list, str, str)
     utPrepared = pyqtSignal(int, str, str)
     utStartTest = pyqtSignal(str, str)
@@ -1883,7 +1883,7 @@
         """
         self.clientRawInput.emit(prompt, echo, debuggerId)
     
-    def signalClientBanner(self, version, platform, debugClient, venvName):
+    def signalClientBanner(self, version, platform, venvName):
         """
         Public method to process the client banner info.
         
@@ -1891,12 +1891,10 @@
         @type str
         @param platform hostname of the client
         @type str
-        @param debugClient additional debugger type info
-        @type str
         @param venvName name of the virtual environment
         @type str
         """
-        self.clientBanner.emit(version, platform, debugClient, venvName)
+        self.clientBanner.emit(version, platform, venvName)
     
     def signalClientCapabilities(self, capabilities, clientType, venvName):
         """
@@ -2172,16 +2170,16 @@
         """
         self.debugging = on
     
-    def signalClientDebuggerIds(self, debuggerIds):
+    def signalClientDebuggerId(self, debuggerId):
         """
         Public method to signal the receipt of a new debugger ID.
         
         This signal indicates, that a new debugger backend has connected.
         
-        @param debuggerIds list of IDs of the connected debugger backends
-        @type list of str
+        @param debuggerId ID of the newly connected debugger backend
+        @type str
         """
-        self.clientDebuggerIds.emit(debuggerIds)
+        self.clientDebuggerId.emit(debuggerId)
     
     def getDebuggerIds(self):
         """

eric ide

mercurial