Thu, 06 Feb 2020 19:04:28 +0100
Fixed an issue causing multi threaded debugging sessions to hang.
eric6/DebugClients/Python/DebugBase.py | file | annotate | diff | comparison | revisions | |
eric6/Debugger/DebugUI.py | file | annotate | diff | comparison | revisions |
--- a/eric6/DebugClients/Python/DebugBase.py Tue Feb 04 18:57:29 2020 +0100 +++ b/eric6/DebugClients/Python/DebugBase.py Thu Feb 06 19:04:28 2020 +0100 @@ -789,6 +789,8 @@ self.isBroken = False self._dbgClient.unlockClient() + self._dbgClient.dumpThreadList() + def user_exception(self, excinfo, unhandled=False): """ Public method reimplemented to report an exception to the debug server. @@ -912,6 +914,8 @@ self.eventPollFlag = False self._dbgClient.unlockClient() self.stop_everywhere = stop_everywhere + + self._dbgClient.dumpThreadList() def __extractExceptionName(self, exctype): """
--- a/eric6/Debugger/DebugUI.py Tue Feb 04 18:57:29 2020 +0100 +++ b/eric6/Debugger/DebugUI.py Thu Feb 06 19:04:28 2020 +0100 @@ -2291,7 +2291,6 @@ self.lastAction = 0 self.__enterRemote() self.debugServer.remoteContinue(self.getSelectedDebuggerId()) - self.__getThreadList() def __specialContinue(self): """ @@ -2300,7 +2299,6 @@ self.lastAction = 2 self.__enterRemote() self.debugServer.remoteContinue(self.getSelectedDebuggerId(), 1) - self.__getThreadList() def __step(self): """ @@ -2317,7 +2315,6 @@ self.lastAction = 2 self.__enterRemote() self.debugServer.remoteStepOver(self.getSelectedDebuggerId()) - self.__getThreadList() def __stepOut(self): """ @@ -2326,7 +2323,6 @@ self.lastAction = 3 self.__enterRemote() self.debugServer.remoteStepOut(self.getSelectedDebuggerId()) - self.__getThreadList() def __stepQuit(self): """ @@ -2349,7 +2345,6 @@ self.getSelectedDebuggerId(), aw.getFileName(), line, 1, None, 1) self.debugServer.remoteContinue(self.getSelectedDebuggerId()) - self.__getThreadList() def __moveInstructionPointer(self): """