Rob,<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I&#39;ve gotten a little mileage from launching ChucK under gdb:<br>
</blockquote><div><br>That sounds like a worthwhile thing to try next time. I got it now, going by ear, trying lots of things and a few debug prints here and there to home in on it.<br><br>I do think we could do better though; this seems like a prime example of a case where the whole integration of the VM with the compiler and the parser could become useful.<br>
<br>Tom, <br><br>These &quot;bytcode instructions&quot; are those linked more or less linearly to the file? What I mean is could one home in on the bug by intentionally having a array go out of bounds, then checking whether this results in a higher or a lower number?<br>
<br>Another solution would of course be to look more closely before copy-pasting a entire loop and verifying whether all of the variables still make sense in the new scope... *cough* <br></div></div><br>Thnaks,<br>Kas.<br>