From 48c661ea6c0f2bd9b76a3385cd946b7d07bc9b5f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Fri, 22 Feb 2013 10:23:51 +0000 Subject: [PATCH] trace: Unwrap all args before serializing them. --- wrappers/trace.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wrappers/trace.py b/wrappers/trace.py index 8ff2b91..61a2cb9 100644 --- a/wrappers/trace.py +++ b/wrappers/trace.py @@ -493,6 +493,8 @@ class Tracer: for arg in function.args: if not arg.output: self.unwrapArg(function, arg) + for arg in function.args: + if not arg.output: self.serializeArg(function, arg) print ' trace::localWriter.endEnter();' self.invokeFunction(function) @@ -694,6 +696,8 @@ class Tracer: for arg in method.args: if not arg.output: self.unwrapArg(method, arg) + for arg in method.args: + if not arg.output: self.serializeArg(method, arg) print ' trace::localWriter.endEnter();' -- 2.43.0