Module: wine Branch: master Commit: e8766bb66f7f52993580b5a9f767ddf92a683621 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e8766bb66f7f52993580b5a9f7...
Author: Jacek Caban jacek@codeweavers.com Date: Fri Dec 7 11:57:42 2012 +0100
jscript: Added more useful debug traces.
---
dlls/jscript/activex.c | 2 ++ dlls/jscript/engine.c | 2 +- 2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/jscript/activex.c b/dlls/jscript/activex.c index c7b4e0a..58c2574 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 3fedea1..b62e5a6 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;