eric6/Debugger/DebugServer.py

changeset 7932
c4c6b2784eec
parent 7923
91e843545d9a
child 7986
2971d5d19951
equal deleted inserted replaced
7931:a761160bfde9 7932:c4c6b2784eec
65 debuggerId) emitted after a syntax error has been detected on the 65 debuggerId) emitted after a syntax error has been detected on the
66 client side 66 client side
67 @signal clientSignal(message, filename, linenumber, function name, 67 @signal clientSignal(message, filename, linenumber, function name,
68 function arguments, debuggerId) emitted after a signal has been 68 function arguments, debuggerId) emitted after a signal has been
69 generated on the client side 69 generated on the client side
70 @signal clientDisconnected(str) emitted after a debug client has
71 disconnected (i.e. closed the network socket)
70 @signal clientExit(str, int, str, bool, str) emitted after the client has 72 @signal clientExit(str, int, str, bool, str) emitted after the client has
71 exited giving the program name, the exit status, an exit message, an 73 exited giving the program name, the exit status, an exit message, an
72 indication to be quiet and the ID of the exited client 74 indication to be quiet and the ID of the exited client
73 @signal lastClientExited() emitted to indicate that the last connected 75 @signal lastClientExited() emitted to indicate that the last connected
74 debug client has terminated 76 debug client has terminated
138 clientStatement = pyqtSignal(bool, str) 140 clientStatement = pyqtSignal(bool, str)
139 clientDisassembly = pyqtSignal(dict, str) 141 clientDisassembly = pyqtSignal(dict, str)
140 clientException = pyqtSignal(str, str, list, str) 142 clientException = pyqtSignal(str, str, list, str)
141 clientSyntaxError = pyqtSignal(str, str, int, int, str) 143 clientSyntaxError = pyqtSignal(str, str, int, int, str)
142 clientSignal = pyqtSignal(str, str, int, str, str, str) 144 clientSignal = pyqtSignal(str, str, int, str, str, str)
145 clientDisconnected = pyqtSignal(str)
143 clientExit = pyqtSignal(str, int, str, bool, str) 146 clientExit = pyqtSignal(str, int, str, bool, str)
144 lastClientExited = pyqtSignal() 147 lastClientExited = pyqtSignal()
145 clientBreakConditionError = pyqtSignal(str, int, str) 148 clientBreakConditionError = pyqtSignal(str, int, str)
146 clientWatchConditionError = pyqtSignal(str, str) 149 clientWatchConditionError = pyqtSignal(str, str)
147 clientRawInput = pyqtSignal(str, bool, str) 150 clientRawInput = pyqtSignal(str, bool, str)
1808 """ 1811 """
1809 if self.running: 1812 if self.running:
1810 self.clientSignal.emit(message, filename, lineNo, 1813 self.clientSignal.emit(message, filename, lineNo,
1811 funcName, funcArgs, debuggerId) 1814 funcName, funcArgs, debuggerId)
1812 1815
1816 def signalClientDisconnected(self, debuggerId):
1817 """
1818 Public method to send a signal when a debug client has closed its
1819 connection.
1820
1821 @param debuggerId ID of the debugger backend
1822 @type str
1823 """
1824 self.clientDisconnected.emit(debuggerId)
1825
1813 def signalClientExit(self, program, status, message, debuggerId): 1826 def signalClientExit(self, program, status, message, debuggerId):
1814 """ 1827 """
1815 Public method to process the client exit status. 1828 Public method to process the client exit status.
1816 1829
1817 @param program name of the exited program 1830 @param program name of the exited program

eric ide

mercurial