547 self.debugServer.masterClientConnected() |
547 self.debugServer.masterClientConnected() |
548 |
548 |
549 self.debugServer.initializeClient(debuggerId) |
549 self.debugServer.initializeClient(debuggerId) |
550 |
550 |
551 # perform auto-continue except for master |
551 # perform auto-continue except for master |
552 if ( |
552 if debuggerId != self.__master: |
553 self.__autoContinue and |
|
554 debuggerId != self.__master and |
|
555 debuggerId not in self.__autoContinued |
|
556 ): |
|
557 self.__autoContinued.append(debuggerId) |
|
558 QTimer.singleShot( |
553 QTimer.singleShot( |
559 0, lambda: self.remoteContinue(debuggerId)) |
554 0, lambda: self.remoteContinue(debuggerId)) |
560 # TODO: maybe the debugger ID should not be registered here but |
|
561 # only in user_line. Seems the debugger stops in a frame |
|
562 # outside of the debugged script and this continue moves it to |
|
563 # the first line of the script. |
|
564 |
555 |
565 def __socketDisconnected(self, sock): |
556 def __socketDisconnected(self, sock): |
566 """ |
557 """ |
567 Private slot handling a socket disconnecting. |
558 Private slot handling a socket disconnecting. |
568 |
559 |