Debugger/DebuggerInterfacePython3.py

changeset 1079
f05ca3490bd1
parent 945
8cd4d08fa9f6
child 1112
8a7d1b9d18db
--- a/Debugger/DebuggerInterfacePython3.py	Mon May 30 16:53:13 2011 +0200
+++ b/Debugger/DebuggerInterfacePython3.py	Mon May 30 16:36:24 2011 +0200
@@ -822,6 +822,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