Debugger/DebuggerInterfacePython3.py

branch
5_1_x
changeset 1077
1b188056eaec
parent 859
029eb068fd7b
child 1110
9de6692fadbd
diff -r e7b0d18b1121 -r 1b188056eaec Debugger/DebuggerInterfacePython3.py
--- a/Debugger/DebuggerInterfacePython3.py	Sat May 28 15:44:21 2011 +0200
+++ b/Debugger/DebuggerInterfacePython3.py	Mon May 30 16:36:24 2011 +0200
@@ -820,6 +820,8 @@
                         exctype = exclist[0]
                         excmessage = exclist[1]
                         stack = exclist[2:]
+                        if stack and stack[0] and stack[0][0] == "<string>":
+                            stack = []
                     except (IndexError, ValueError, SyntaxError):
                         exctype = None
                         excmessage = ''

eric ide

mercurial