eric6/Debugger/DebugServer.py

changeset 8138
169e65a6787c
parent 8077
1fd8f611f26a
child 8142
43248bafe9b2
child 8143
2c730d5fd177
equal deleted inserted replaced
8137:97d37389fbfd 8138:169e65a6787c
71 @signal clientDisconnected(str) emitted after a debug client has 71 @signal clientDisconnected(str) emitted after a debug client has
72 disconnected (i.e. closed the network socket) 72 disconnected (i.e. closed the network socket)
73 @signal clientExit(str, int, str, bool, str) emitted after the client has 73 @signal clientExit(str, int, str, bool, str) emitted after the client has
74 exited giving the program name, the exit status, an exit message, an 74 exited giving the program name, the exit status, an exit message, an
75 indication to be quiet and the ID of the exited client 75 indication to be quiet and the ID of the exited client
76 @signal mainClientExit() emitted to indicate that the main client process
77 has exited
76 @signal lastClientExited() emitted to indicate that the last connected 78 @signal lastClientExited() emitted to indicate that the last connected
77 debug client has terminated 79 debug client has terminated
78 @signal clientClearBreak(filename, lineno, debuggerId) emitted after the 80 @signal clientClearBreak(filename, lineno, debuggerId) emitted after the
79 debug client has decided to clear a temporary breakpoint 81 debug client has decided to clear a temporary breakpoint
80 @signal clientBreakConditionError(fn, lineno, debuggerId) emitted after the 82 @signal clientBreakConditionError(fn, lineno, debuggerId) emitted after the
143 clientException = pyqtSignal(str, str, list, str, str) 145 clientException = pyqtSignal(str, str, list, str, str)
144 clientSyntaxError = pyqtSignal(str, str, int, int, str, str) 146 clientSyntaxError = pyqtSignal(str, str, int, int, str, str)
145 clientSignal = pyqtSignal(str, str, int, str, str, str) 147 clientSignal = pyqtSignal(str, str, int, str, str, str)
146 clientDisconnected = pyqtSignal(str) 148 clientDisconnected = pyqtSignal(str)
147 clientExit = pyqtSignal(str, int, str, bool, str) 149 clientExit = pyqtSignal(str, int, str, bool, str)
150 mainClientExit = pyqtSignal()
148 lastClientExited = pyqtSignal() 151 lastClientExited = pyqtSignal()
149 clientBreakConditionError = pyqtSignal(str, int, str) 152 clientBreakConditionError = pyqtSignal(str, int, str)
150 clientWatchConditionError = pyqtSignal(str, str) 153 clientWatchConditionError = pyqtSignal(str, str)
151 clientRawInput = pyqtSignal(str, bool, str) 154 clientRawInput = pyqtSignal(str, bool, str)
152 clientBanner = pyqtSignal(str, str, str) 155 clientBanner = pyqtSignal(str, str, str)
1848 @param debuggerId ID of the debugger backend 1851 @param debuggerId ID of the debugger backend
1849 @type str 1852 @type str
1850 """ 1853 """
1851 self.clientExit.emit(program, int(status), message, False, debuggerId) 1854 self.clientExit.emit(program, int(status), message, False, debuggerId)
1852 1855
1856 def signalMainClientExit(self):
1857 """
1858 Public method to process the main client exiting.
1859 """
1860 self.mainClientExit.emit()
1861
1853 def signalLastClientExited(self): 1862 def signalLastClientExited(self):
1854 """ 1863 """
1855 Public method to process the last client exit event. 1864 Public method to process the last client exit event.
1856 """ 1865 """
1857 if self.passive: 1866 if self.passive:

eric ide

mercurial