rem: currentStack = DebuggerDocument.currentFunctionStack(); for(var i = 0; i < currentStack.length; i++) { 
add: currentStack = new Array(); var stack = DebuggerDocument.currentFunctionStack(); for(var i = 0; i < stack.length; i++) { 
context: function updateFunctionStack(){    var stackframeTable = document.getElementById("stackframeTable");    stackframeTable.innerHTML = ""; // clear the content    currentStack = DebuggerDocument.currentFunctionStack();    for(var i = 0; i < currentStack.length; i++) {        var tr = document.createElement("tr");        var td = document.createElement("td");        td.className = "stackNumber";        td.innerText = i;        tr.appendChild(td);        td = document.createElement("td");        td.innerText = currentStack[i];        tr.appendChild(td);        stackframeTable.appendChild(tr);    }    var tr = document.createElement("tr");    var td = document.createElement("td");    td.className = "stackNumber";    td.innerText = i;    tr.appendChild(td);    td = document.createElement("td");    td.innerText = "Global";    tr.appendChild(td);    stackframeTable.appendChild(tr);}
meta: 5650	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5650/930ea7b97adc165512f849ae7b1b31b6250659f5/debugger.js/buggy/WebKitTools/Drosera/debugger.js