--- a/DebugClients/Python/DebugClientBase.py Sat Jul 04 14:46:40 2015 +0200 +++ b/DebugClients/Python/DebugClientBase.py Sat Jul 04 17:31:46 2015 +0200 @@ -759,7 +759,7 @@ try: value = eval( arg, self.currentThread.getCurrentFrame().f_globals, - self.currentThread.getCurrentFrameLocals()) + self.currentThread.getFrameLocals(0)) except: # Report the exception and the traceback try: @@ -789,7 +789,7 @@ if cmd == DebugProtocol.RequestExec: _globals = self.currentThread.getCurrentFrame().f_globals - _locals = self.currentThread.getCurrentFrameLocals() + _locals = self.currentThread.getFrameLocals(0) try: code = compile(arg + '\n', '<stdin>', 'single') exec code in _globals, _locals @@ -966,7 +966,8 @@ frmnr -= 1 _globals = cf.f_globals _locals = \ - self.currentThread.getCurrentFrameLocals() + self.currentThread.getFrameLocals( + self.framenr) # reset sys.stdout to our redirector (unconditionally) if "sys" in _globals: __stdout = _globals["sys"].stdout