Debugger/DebuggerInterfacePython.py

branch
5_1_x
changeset 1077
1b188056eaec
parent 791
9ec2ac20e54e
child 1110
9de6692fadbd
--- a/Debugger/DebuggerInterfacePython.py	Sat May 28 15:44:21 2011 +0200
+++ b/Debugger/DebuggerInterfacePython.py	Mon May 30 16:36:24 2011 +0200
@@ -824,6 +824,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