diff -r ab5918079c38 -r 08cc2f31c983 DebugClients/Python3/DebugBase.py --- a/DebugClients/Python3/DebugBase.py Thu Apr 25 19:53:25 2013 +0200 +++ b/DebugClients/Python3/DebugBase.py Fri Apr 26 19:37:21 2013 +0200 @@ -680,13 +680,25 @@ for fr in frlist: filename = self._dbgClient.absPath(self.fix_frame_filename(fr)) - linenr = fr.f_lineno if os.path.basename(filename).startswith("DebugClient") or \ os.path.basename(filename) == "bdb.py": break - exclist.append([filename, linenr]) + linenr = fr.f_lineno + ffunc = fr.f_code.co_name + + if ffunc == '?': + ffunc = '' + + if ffunc and not ffunc.startswith("<"): + argInfo = inspect.getargvalues(fr) + fargs = inspect.formatargvalues(argInfo.args, argInfo.varargs, + argInfo.keywords, argInfo.locals) + else: + fargs = "" + + exclist.append([filename, linenr, ffunc, fargs]) self._dbgClient.write("{0}{1}\n".format(ResponseException, str(exclist)))