[chuck-users] Array out of bounds.... error usability

Tom Lieber lieber at princeton.edu
Thu May 7 22:33:32 EDT 2009


2009/5/7 Kassen <signal.automatique at gmail.com>:
> These "bytcode instructions" 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?

Yeah, that seems likely. But I'm completely unfamiliar with ChucK's
compiler, and no time to play with it tonight, unfortunately.

> 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*

:D

-- 
Tom Lieber
http://AllTom.com/


More information about the chuck-users mailing list