DebugClients/Python/DebugClientBase.py

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

eric ide

mercurial