Debugger/DebuggerInterfacePython3.py

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

eric ide

mercurial