--- a/DebugClients/Python/DebugBase.py Fri Feb 17 22:01:46 2017 +0100 +++ b/DebugClients/Python/DebugBase.py Fri Feb 17 22:10:34 2017 +0100 @@ -351,7 +351,7 @@ # statement. if not (frame.f_code.co_flags & CO_GENERATOR and arg[0] is StopIteration and arg[2] is None): - self.user_exception(frame, arg) + self.user_exception(arg) # Stop at the StopIteration or GeneratorExit exception when the # user has set stopframe in a generator by issuing a return # command, or a next/until command at the last statement in the @@ -359,7 +359,7 @@ elif (self.stopframe and frame is not self.stopframe and self.stopframe.f_code.co_flags & CO_GENERATOR and arg[0] in (StopIteration, GeneratorExit)): - self.user_exception(frame, arg) + self.user_exception(arg) return if event == 'c_call': @@ -767,12 +767,10 @@ self.isBroken = False self._dbgClient.unlockClient() - def user_exception(self, frame, excinfo, unhandled=False): + def user_exception(self, excinfo, unhandled=False): """ Public method reimplemented to report an exception to the debug server. - @param frame the frame object - @type frame object @param excinfo details about the exception @type tuple(Exception, excval object, traceback frame object) @keyparam unhandled flag indicating an uncaught exception