the debugger is now useless. it used to be useful and I could debug my code with it. not anymore. when I "step into", it now jumps to random places in the code. in one particular piece of code, I have no events or anything interrupting, purely procedural. the code is
<hr>
<h2 style="border-style:dashed; border-width:thin; border-color:#0f0;" placeholder="Results title goes here">Results: <span id="js-collect-h"> </span></h2>
<p id="js-collect-out" style="border-style:dashed; border-width:thin; border-color:#0f0;" placeholder="Results go here"> </p>
<script type="text/javascript">
function collect(idBase, title) {
var i,s="";
for (i = 1; document.getElementById(idBase + i); i++) {
s += document.getElementById(idBase + i).innerHTML;
}
document.getElementById('js-collect-h').innerHTML = title;
document.getElementById('js-collect-out').innerHTML = s;
}
</script>
and this goes throughout the document collecting content from id+numbered elements, concatenates it together, and stuffs it into a results box - sort of like search results.
http://jesusnjim.com/common/collect.html