rem: if (rowIndex == -1 || rowIndex > console.projectView.visualFootprint) 
add: if (rowIndex == -1 || rowIndex > console.projectView.rowCount) 
context: function con_projsel (e){        var rowIndex = console.projectView.selectedIndex;    if (rowIndex == -1 || rowIndex > console.projectView.visualFootprint)        return;    var row =        console.projectView.childData.locateChildByVisualRow(rowIndex);    if (!row)    {        ASSERT (0, "bogus row index " + rowIndex);        return;    }    if (row instanceof BPRecord)    {        var scriptRec = console.scripts[row.fileName];        if (!scriptRec)        {            dd ("breakpoint in unknown source");            return;        }                var sourceView = console.sourceView;        sourceView.displaySource (scriptRec);        sourceView.scrollTo (row.line - 3, -1);        if (sourceView.childData && sourceView.childData.isLoaded)        {            sourceView.outliner.selection.timedSelect (row.line - 1, 500);        }        else        {            sourceView.pendingSelect = row.line - 1;        }    }    else        dd ("not a bp record");}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/50801281f8309f0b6d331f9ed218632bf184d828/venkman-handlers.js/clean/extensions/venkman/resources/content/venkman-handlers.js