rem: if (e.isInteractive) 
add: if ("isInteractive" in e && e.isInteractive) 
context: function cmdWatchExpr (e){    var watches = console.views.watches;        if (!e.expression)    {        if (e.isInteractive)        {            var watchData = console.views.watches.childData;            var len = watchData.length;            display (getMsg(MSN_WATCH_HEADER, len));            for (var i = 0; i < len; ++i)            {                display (getMsg(MSN_FMT_WATCH_ITEM,                                [i, watchData[i].displayName,                                 watchData[i].displayValue]));            }            return null;        }        var parent;                    if (watches.currentContent)            parent = watches.currentContent.ownerWindow;        else            parent = window;                    e.expression = prompt(MSG_ENTER_WATCH, "", parent);        if (!e.expression)            return null;    }        var refresher;    if (e.command.name == "watch-expr")    {        if (!("currentEvalObject" in console))        {            display (MSG_ERR_NO_EVAL_OBJECT, MT_ERROR);            return null;        }        if (console.currentEvalObject instanceof jsdIStackFrame)        {            refresher = function () {                            if ("frames" in console)                            {                                this.value =                                    evalInTargetScope(e.expression, true);                            }                        };        }        else        {            var evalObject = console.currentEvalObject;            refresher = function () {                            rv = console.doEval.apply(evalObject,                                                      [e.expression, parent]);                            this.value = console.jsds.wrapValue(rv);                        };        }    }    else    {        refresher = function () {                        var rv = evalInDebuggerScope(e.expression, true);                        this.value = console.jsds.wrapValue(rv);                    };    }        var rec = new ValueRecord(console.jsds.wrapValue(null), e.expression, 0);    rec.onPreRefresh = refresher;    rec.refresh();    watches.childData.appendChild(rec);    watches.refresh();    return rec;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/b0b8cec04bd582c27a41817979fe87561132d01d/venkman-views.js/buggy/extensions/venkman/resources/content/venkman-views.js