rem: var parent = console.currentEvalObject.__parent__; 
add: var parent; var jsdValue = console.jsds.wrapValue (console.currentEvalObject); if (jsdValue.jsParent) parent = jsdValue.jsParent.getWrappedValue(); 
context: function cmdEval (e){    var urlFile;    var functionName;    var rv;        if (!("currentEvalObject" in console))    {        display (MSG_ERR_NO_EVAL_OBJECT, MT_ERROR);        return;    }    display(getMsg(MSN_EVAL_IN, [leftPadString(console.evalCount, 3, "0"),                                 e.expression]),            MT_FEVAL_IN);    if (console.currentEvalObject instanceof jsdIStackFrame)    {        rv = evalInTargetScope (e.expression);        if (typeof rv != "undefined")        {            if (rv != null)            {                var l = $.length;                $[l] = rv;                                display (getMsg(MSN_FMT_TMP_ASSIGN, [l, formatValue (rv)]),                         MT_FEVAL_OUT);            }            else                dd ("evalInTargetScope returned null");        }    }    else    {        var parent = console.currentEvalObject.__parent__;        if (!parent)            parent = console.currentEvalObject;        if ("location" in parent)            urlFile = getFileFromPath(parent.location.href);        else            urlFile = MSG_VAL_UNKNOWN;        try        {            rv = console.doEval.apply(console.currentEvalObject,                                      [e.expression, parent]);            display (String(rv), MT_FEVAL_OUT);        }        catch (ex)        {            display (formatException(ex), MT_ERROR);        }    }            dispatch ("hook-eval-done");    return true;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/171d43ee25fb94ca659d1f263eb012f84471dd4a/venkman-commands.js/buggy/extensions/venkman/resources/content/venkman-commands.js