eric6/Debugger/DebugServer.py

branch
multi_processing
changeset 7390
052ce4cf06c6
parent 7389
770ffcb88be5
child 7392
b6674724612a
equal deleted inserted replaced
7389:770ffcb88be5 7390:052ce4cf06c6
1790 1790
1791 def signalLastClientExited(self): 1791 def signalLastClientExited(self):
1792 """ 1792 """
1793 Public method to process the last client exit event. 1793 Public method to process the last client exit event.
1794 """ 1794 """
1795 # TODO: Why is this not called anymore?
1795 if self.passive: 1796 if self.passive:
1796 self.__passiveShutDown() 1797 self.__passiveShutDown()
1797 self.lastClientExited.emit() 1798 self.lastClientExited.emit()
1798 if Preferences.getDebugger("AutomaticReset") or (self.running and 1799 if Preferences.getDebugger("AutomaticReset") or (self.running and
1799 not self.debugging): 1800 not self.debugging):
2057 2058
2058 self.clientExit.emit(int(status), "", True, "") 2059 self.clientExit.emit(int(status), "", True, "")
2059 self.debugging = False 2060 self.debugging = False
2060 self.running = False 2061 self.running = False
2061 2062
2062 def passiveStartUp(self, fn, exc): 2063 def passiveStartUp(self, fn, exc, debuggerId):
2063 """ 2064 """
2064 Public method to handle a passive debug connection. 2065 Public method to handle a passive debug connection.
2065 2066
2066 @param fn filename of the debugged script 2067 @param fn filename of the debugged script
2067 @type str 2068 @type str
2068 @param exc flag to enable exception reporting of the IDE 2069 @param exc flag to enable exception reporting of the IDE
2069 @type bool 2070 @type bool
2071 @param debuggerId ID of the debugger backend
2072 @type str
2070 """ 2073 """
2071 self.appendStdout.emit(self.tr("Passive debug connection received\n")) 2074 self.appendStdout.emit(self.tr("Passive debug connection received\n"))
2072 self.passiveClientExited = False 2075 self.passiveClientExited = False
2073 self.debugging = True 2076 self.debugging = True
2074 self.running = True 2077 self.running = True

eric ide

mercurial