841 |
841 |
842 self._dbgClient.lockClient() |
842 self._dbgClient.lockClient() |
843 self._dbgClient.currentThread = self |
843 self._dbgClient.currentThread = self |
844 self._dbgClient.currentThreadExec = self |
844 self._dbgClient.currentThreadExec = self |
845 |
845 |
846 self._dbgClient.sendResponseLine(stack) |
846 self._dbgClient.sendResponseLine(stack, self.name) |
847 self._dbgClient.eventLoop() |
847 self._dbgClient.eventLoop() |
848 |
848 |
849 self.isBroken = False |
849 self.isBroken = False |
850 self._dbgClient.unlockClient() |
850 self._dbgClient.unlockClient() |
851 |
851 |
895 charno = 0 |
895 charno = 0 |
896 realSyntaxError = True |
896 realSyntaxError = True |
897 |
897 |
898 if realSyntaxError: |
898 if realSyntaxError: |
899 self._dbgClient.sendSyntaxError( |
899 self._dbgClient.sendSyntaxError( |
900 message, filename, lineno, charno) |
900 message, filename, lineno, charno, self.name) |
901 self._dbgClient.eventLoop() |
901 self._dbgClient.eventLoop() |
902 return |
902 return |
903 |
903 |
904 self.skipFrames = 0 |
904 self.skipFrames = 0 |
905 if (exctype == RuntimeError and |
905 if (exctype == RuntimeError and |
950 stack = self.getStack(frlist[self.skipFrames:]) |
950 stack = self.getStack(frlist[self.skipFrames:]) |
951 |
951 |
952 self._dbgClient.lockClient() |
952 self._dbgClient.lockClient() |
953 self._dbgClient.currentThread = self |
953 self._dbgClient.currentThread = self |
954 self._dbgClient.currentThreadExec = self |
954 self._dbgClient.currentThreadExec = self |
955 self._dbgClient.sendException(exctypetxt, excvaltxt, stack) |
955 self._dbgClient.sendException(exctypetxt, excvaltxt, stack, self.name) |
956 self._dbgClient.setDisassembly(disassembly) |
956 self._dbgClient.setDisassembly(disassembly) |
957 self._dbgClient.dumpThreadList() |
957 self._dbgClient.dumpThreadList() |
958 |
958 |
959 if exctb is not None: |
959 if exctb is not None: |
960 # When polling kept enabled, it isn't possible to resume after an |
960 # When polling kept enabled, it isn't possible to resume after an |