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.

-- 
You received this message because you are subscribed to the Google
Groups "Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
https://groups.google.com/forum/#!forum/firebug

Reply via email to