rem: for (var i = console.breakpoints.childData.length - 1; i >= 0; --i) 
add: for (i = console.breakpoints.childData.length - 1; i >= 0; --i) 
context: function cmdClearScript (e){    if ("scriptRecList" in e)    {        do        {            dd ("clearing script " + e.scriptRecList[0].constructor.name);            cmdClearScript ({scriptRec: e.scriptRecList[0]});            e.scriptRecList.shift();        }        while (e.scriptRecList.length > 0);                return true;    }    /* walk backwards so as not to disturb the indicies */    for (var i = console.breakpoints.childData.length - 1; i >= 0; --i)    {        var bpr = console.breakpoints.childData[i];        if (bpr.hasScriptRecord(e.scriptRec))        {            dd ("found one");            clearBreakpointByNumber (i);        }    }    return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/0aa85ea12fc2527490368baea23f07a426583f1d/venkman-commands.js/buggy/extensions/venkman/resources/content/venkman-commands.js