jscript: Added more useful debug traces.

This commit is contained in:
Jacek Caban 2012-12-07 11:57:42 +01:00 committed by Alexandre Julliard
parent b93dbb49c0
commit e8766bb66f
2 changed files with 3 additions and 1 deletions

View File

@ -70,6 +70,8 @@ static IUnknown *create_activex_object(script_ctx_t *ctx, const WCHAR *progid)
GUID guid; GUID guid;
HRESULT hres; HRESULT hres;
TRACE("%s\n", debugstr_w(progid));
hres = CLSIDFromProgID(progid, &guid); hres = CLSIDFromProgID(progid, &guid);
if(FAILED(hres)) if(FAILED(hres))
return NULL; return NULL;

View File

@ -2458,7 +2458,7 @@ static HRESULT enter_bytecode(script_ctx_t *ctx, bytecode_t *code, function_code
op = code->instrs[exec_ctx->ip].op; op = code->instrs[exec_ctx->ip].op;
hres = op_funcs[op](exec_ctx); hres = op_funcs[op](exec_ctx);
if(FAILED(hres)) { if(FAILED(hres)) {
TRACE("EXCEPTION\n"); TRACE("EXCEPTION %08x\n", hres);
if(!exec_ctx->except_frame) if(!exec_ctx->except_frame)
break; break;