From 410154e280f1af3635cbc28d7b1fcbb3015e09c3 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Wed, 23 Oct 2019 15:10:47 +0200 Subject: [PATCH] vbscript: Improve exec_script debug traces. Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- dlls/vbscript/interp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/vbscript/interp.c b/dlls/vbscript/interp.c index 80ecc416998..a77f974772e 100644 --- a/dlls/vbscript/interp.c +++ b/dlls/vbscript/interp.c @@ -2098,6 +2098,7 @@ HRESULT exec_script(script_ctx_t *ctx, BOOL extern_caller, function_t *func, vbd heap_pool_init(&exec.heap); + TRACE("%s(", debugstr_w(func->name)); if(func->arg_cnt) { VARIANT *v; unsigned i; @@ -2110,6 +2111,7 @@ HRESULT exec_script(script_ctx_t *ctx, BOOL extern_caller, function_t *func, vbd for(i=0; i < func->arg_cnt; i++) { v = get_arg(dp, i); + TRACE("%s%s", i ? ", " : "", debugstr_variant(v)); if(V_VT(v) == (VT_VARIANT|VT_BYREF)) { if(func->args[i].by_ref) exec.args[i] = *v; @@ -2126,6 +2128,7 @@ HRESULT exec_script(script_ctx_t *ctx, BOOL extern_caller, function_t *func, vbd }else { exec.args = NULL; } + TRACE(")\n"); if(func->var_cnt) { exec.vars = heap_alloc_zero(func->var_cnt * sizeof(VARIANT));