rem: { var scriptRec = console.scripts[row.fileName]; if (!scriptRec) { dd ("breakpoint in unknown source"); return; }  var sourceView = console.sourceView; sourceView.setCurrentSourceProvider (scriptRec); sourceView.scrollTo (row.line - 3, -1); if ("childData" in sourceView && sourceView.childData.isLoaded) { sourceView.outliner.selection.timedSelect (row.line - 1, 500); } else { sourceView.pendingSelect = row.line - 1; } } 
add: dispatch ("find-bp", {breakpointRec: row}); 
context: function con_projsel (e){    if (console.projectView.selectedIndex == -1)        return;        console.scriptsView.selectedIndex = -1;    console.stackView.selectedIndex   = -1;    console.sourceView.selectedIndex  = -1;        var rowIndex = console.projectView.selectedIndex;    if (rowIndex == -1 || rowIndex > console.projectView.rowCount)        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.setCurrentSourceProvider (scriptRec);        sourceView.scrollTo (row.line - 3, -1);        if ("childData" in sourceView && sourceView.childData.isLoaded)        {            sourceView.outliner.selection.timedSelect (row.line - 1, 500);        }        else        {            sourceView.pendingSelect = row.line - 1;        }    }    else        dd ("not a bp record");}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/e014e7e6630afe8d70caa7198725aea7c354a0db/venkman-handlers.js/buggy/extensions/venkman/resources/content/venkman-handlers.js