if (FBTrace.DBG_ERRORS) FBTrace.dumpProperties("commandLine.evaluate FBL.evalInTo FAILS:",exc);        /*@explore*/ if (FBTrace.DBG_ERRORS) FBTrace.dumpProperties("commandLine.evaluate FBL.evalInTo win:", win);        /*@explore*/ 
if (FBTrace.DBG_ERRORS) FBTrace.dumpProperties("commandLine.evaluate FAILS:",exc);        /*@explore*/ if (FBTrace.DBG_ERRORS) FBTrace.dumpProperties("commandLine.evaluate sandbox:", sandbox);        /*@explore*/ if (FBTrace.DBG_ERRORS) FBTrace.dumpProperties("commandLine.evaluate sandbox.__win__.__scope__:", sandbox.__win__.__scope__);        /*@explore*/ 
    evaluate: function(expr, context, userVars, thisValue)    {        if (!context)            return;        var result = null;        var threw = false;        if (!context.commandLineAPI)            context.commandLineAPI = new FirebugCommandLineAPI(context);        var scope =        {            api: context.commandLineAPI,            vars: getInspectorVars(context),            userVars: userVars ? userVars : {},            thisValue: thisValue        };        var scriptToEval = thisValue ? evalScriptWithThis : evalScript;        if (context.stopped)        {            result = Firebug.Debugger.evaluate(expr, context, scope);        }        else        {            var win = context.baseWindow ? context.baseWindow : context.window;            var fullScope = extend(scope,            {                expr: expr,                callback: function(value, hadException) { result = value; threw = hadException; }            });            iterateWindows(win, function(subwin) { subwin.__scope__ = fullScope; });            try            {				var sandbox = new Components.utils.Sandbox(win); // Use DOM Window		        sandbox.__win__ = win;				Components.utils.evalInSandbox(scriptToEval, sandbox);            }            catch (exc)            {                if (FBTrace.DBG_ERRORS) FBTrace.dumpProperties("commandLine.evaluate FBL.evalInTo FAILS:",exc);        /*@explore*/                if (FBTrace.DBG_ERRORS) FBTrace.dumpProperties("commandLine.evaluate FBL.evalInTo win:", win);        /*@explore*/                result = new FBL.ErrorMessage("commandLine.evaluate FAILS: "+exc, scriptToEval,0, 0, "js", context, null);            }            try            {                 iterateWindows(win, function(subwin) { delete subwin.__scope__; });            }            catch (exc)            {                if (FBTrace.DBG_ERRORS) FBTrace.dumpProperties("commandLine.evaluate iterateWindows to delete FAILS:", exc);          /*@explore*/                throw exc;            }            if (threw)            {                if (FBTrace.DBG_ERRORS) FBTrace.dumpProperties("commandLine.evaluate evaluation threw:", result);          /*@explore*/                result = new FBL.ErrorMessage(result, scriptToEval, 0, 0, "js", context, null);                if (FBTrace.DBG_ERRORS) FBTrace.dumpProperties("commandLine.evaluate ErrorMessage result:", result);          /*@explore*/            }        }        context.invalidatePanels("dom", "watches", "domSide");        return result;    },
2454	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2454/5da1c8b018cf62f6e1c25d1879f31f9fb68401bb/commandLine.js/clean/extension/content/firebug/commandLine.js