Debugger/DebuggerInterfacePython.py

branch
5_1_x
changeset 1077
1b188056eaec
parent 791
9ec2ac20e54e
child 1110
9de6692fadbd
equal deleted inserted replaced
1072:e7b0d18b1121 1077:1b188056eaec
822 try: 822 try:
823 exclist = eval(exc) 823 exclist = eval(exc)
824 exctype = exclist[0] 824 exctype = exclist[0]
825 excmessage = exclist[1] 825 excmessage = exclist[1]
826 stack = exclist[2:] 826 stack = exclist[2:]
827 if stack and stack[0] and stack[0][0] == "<string>":
828 stack = []
827 except (IndexError, ValueError, SyntaxError): 829 except (IndexError, ValueError, SyntaxError):
828 exctype = None 830 exctype = None
829 excmessage = '' 831 excmessage = ''
830 stack = [] 832 stack = []
831 self.debugServer.signalClientException(exctype, excmessage, stack) 833 self.debugServer.signalClientException(exctype, excmessage, stack)

eric ide

mercurial