rem: frame.script.fileName == MSG_VAL_CONSOLE) 
add: frame.script.fileName == MSG_VAL_CONSOLE || !ASSERT(!(frame.script.flags & SCRIPT_NODEBUG), "Stopped in a script marked as don't debug") || !ASSERT(!isURLFiltered(frame.script.fileName), "stopped in a filtered URL")) 
context: function jsdExecutionHook (frame, type, rv){    var hookReturn = jsdIExecutionHook.RETURN_CONTINUE;    if (!ASSERT(!("frames" in console), "Execution hook called while stopped") ||        frame.isNative ||        !ASSERT(frame.script, "Execution hook called with no script") ||        frame.script.fileName == MSG_VAL_CONSOLE)    {        return hookReturn;    }    var targetWindow = null;    var wasModal = false;    var cx;    try    {        cx = frame.executionContext;    }    catch (ex)    {        dd ("no context");        cx = null;    }        var targetWasEnabled = true;    var debuggerWasEnabled = console.baseWindow.enabled;    console.baseWindow.enabled = true;        if (!ASSERT(cx, "no cx in execution hook"))        return hookReturn;        var glob = cx.globalObject;    if (!ASSERT(glob, "no glob in execution hook"))        return hookReturn;        console.targetWindow = getBaseWindowFromWindow(glob.getWrappedValue());    targetWasEnabled = console.targetWindow.enabled;    if (console.targetWindow != console.baseWindow)    {        cx.scriptsEnabled = false;        console.targetWindow.enabled = false;    }    try    {        //dd ("debug trap " + formatFrame(frame));        hookReturn = debugTrap(frame, type, rv);        //dd ("debug trap returned " + hookReturn);    }    catch (ex)    {        display (MSG_ERR_INTERNAL_BPT, MT_ERROR);        display (formatException(ex), MT_ERROR);    }            if (console.targetWindow && console.targetWindow != console.baseWindow)    {        console.targetWindow.enabled = targetWasEnabled;        cx.scriptsEnabled = true;    }        console.baseWindow.enabled = debuggerWasEnabled;    delete console.frames;    delete console.targetWindow;    if ("__exitAfterContinue__" in console)        window.close();    return hookReturn;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/171d43ee25fb94ca659d1f263eb012f84471dd4a/venkman-debugger.js/clean/extensions/venkman/resources/content/venkman-debugger.js