DebugClients/Python3/DebugClientBase.py

branch
5_2_x
changeset 2277
d5dca2805fd2
parent 2159
7ab512c23fdd
child 2303
0ed4ed026c16
equal deleted inserted replaced
2251:3d9fce89b12b 2277:d5dca2805fd2
868 # Report the exception 868 # Report the exception
869 sys.last_type, sys.last_value, sys.last_traceback = sys.exc_info() 869 sys.last_type, sys.last_value, sys.last_traceback = sys.exc_info()
870 for l in traceback.format_exception_only(sys.last_type, sys.last_value): 870 for l in traceback.format_exception_only(sys.last_type, sys.last_value):
871 self.write(l) 871 self.write(l)
872 self.buffer = '' 872 self.buffer = ''
873
874 self.__exceptionRaised()
875 else: 873 else:
876 if code is None: 874 if code is None:
877 self.pendingResponse = DebugProtocol.ResponseContinue 875 self.pendingResponse = DebugProtocol.ResponseContinue
878 else: 876 else:
879 self.buffer = '' 877 self.buffer = ''
933 finally: 931 finally:
934 tblist = exc_tb = None 932 tblist = exc_tb = None
935 933
936 for l in list: 934 for l in list:
937 self.write(l) 935 self.write(l)
938
939 self.__exceptionRaised()
940 936
941 def __clientCapabilities(self): 937 def __clientCapabilities(self):
942 """ 938 """
943 Private method to determine the clients capabilities. 939 Private method to determine the clients capabilities.
944 940

eric ide

mercurial