DebugClients/Python3/DebugClientBase.py

branch
6_1_x
changeset 4644
99699903c454
parent 4643
705ee8ad484f
child 4835
371c03e08f7b
--- a/DebugClients/Python3/DebugClientBase.py	Fri Jan 08 22:14:39 2016 +0100
+++ b/DebugClients/Python3/DebugClientBase.py	Sat Jan 09 10:53:04 2016 +0100
@@ -777,6 +777,7 @@
                         self.currentThread.getCurrentFrame().f_globals,
                         self.currentThread.getFrameLocals(self.framenr))
                     self.currentThread.storeFrameLocals(self.framenr)
+                except:
                     # Report the exception and the traceback
                     try:
                         type, value, tb = sys.exc_info()
@@ -811,6 +812,7 @@
                     code = compile(arg + '\n', '<stdin>', 'single')
                     exec(code, _globals, _locals)
                     self.currentThread.storeFrameLocals(self.framenr)
+                except:
                     # Report the exception and the traceback
                     try:
                         type, value, tb = sys.exc_info()

eric ide

mercurial