Jacek Caban : vbscript: Improve exec_script debug traces.
Alexandre Julliard
julliard at winehq.org
Wed Oct 23 15:31:31 CDT 2019
Module: wine
Branch: master
Commit: 410154e280f1af3635cbc28d7b1fcbb3015e09c3
URL: https://source.winehq.org/git/wine.git/?a=commit;h=410154e280f1af3635cbc28d7b1fcbb3015e09c3
Author: Jacek Caban <jacek at codeweavers.com>
Date: Wed Oct 23 15:10:47 2019 +0200
vbscript: Improve exec_script debug traces.
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/vbscript/interp.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dlls/vbscript/interp.c b/dlls/vbscript/interp.c
index 80ecc41699..a77f974772 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));
More information about the wine-cvs
mailing list