From e8766bb66f7f52993580b5a9f767ddf92a683621 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Fri, 7 Dec 2012 11:57:42 +0100 Subject: [PATCH] jscript: Added more useful debug traces. --- dlls/jscript/activex.c | 2 ++ dlls/jscript/engine.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dlls/jscript/activex.c b/dlls/jscript/activex.c index c7b4e0a0869..58c25743bad 100644 --- a/dlls/jscript/activex.c +++ b/dlls/jscript/activex.c @@ -70,6 +70,8 @@ static IUnknown *create_activex_object(script_ctx_t *ctx, const WCHAR *progid) GUID guid; HRESULT hres; + TRACE("%s\n", debugstr_w(progid)); + hres = CLSIDFromProgID(progid, &guid); if(FAILED(hres)) return NULL; diff --git a/dlls/jscript/engine.c b/dlls/jscript/engine.c index 3fedea1c4fc..b62e5a6b85f 100644 --- a/dlls/jscript/engine.c +++ b/dlls/jscript/engine.c @@ -2458,7 +2458,7 @@ static HRESULT enter_bytecode(script_ctx_t *ctx, bytecode_t *code, function_code op = code->instrs[exec_ctx->ip].op; hres = op_funcs[op](exec_ctx); if(FAILED(hres)) { - TRACE("EXCEPTION\n"); + TRACE("EXCEPTION %08x\n", hres); if(!exec_ctx->except_frame) break;