DebugClients/Python/DebugClientBase.py

changeset 2276
52ec544a6c74
parent 2171
c7dd548d67d8
child 2297
e8a46f81517c
equal deleted inserted replaced
2275:34804fc7e2f9 2276:52ec544a6c74
884 except (OverflowError, SyntaxError, ValueError): 884 except (OverflowError, SyntaxError, ValueError):
885 # Report the exception 885 # Report the exception
886 sys.last_type, sys.last_value, sys.last_traceback = sys.exc_info() 886 sys.last_type, sys.last_value, sys.last_traceback = sys.exc_info()
887 map(self.write, traceback.format_exception_only(sys.last_type, sys.last_value)) 887 map(self.write, traceback.format_exception_only(sys.last_type, sys.last_value))
888 self.buffer = '' 888 self.buffer = ''
889
890 self.__exceptionRaised()
891 else: 889 else:
892 if code is None: 890 if code is None:
893 self.pendingResponse = DebugProtocol.ResponseContinue 891 self.pendingResponse = DebugProtocol.ResponseContinue
894 else: 892 else:
895 self.buffer = '' 893 self.buffer = ''
948 traceback.format_exception_only(type, value) 946 traceback.format_exception_only(type, value)
949 finally: 947 finally:
950 tblist = tb = None 948 tblist = tb = None
951 949
952 map(self.write, list) 950 map(self.write, list)
953
954 self.__exceptionRaised()
955 951
956 def __clientCapabilities(self): 952 def __clientCapabilities(self):
957 """ 953 """
958 Private method to determine the clients capabilities. 954 Private method to determine the clients capabilities.
959 955

eric ide

mercurial