[chuck-users] a little debugging help for frozen VM!

Scott Hewitt wittlist at googlemail.com
Sat May 26 08:12:07 EDT 2012


hi,

No I dont think you missed anything just saying that it would be
useful if zero time loops could be intercepted before they are run so
as to protect the VM

Scott

On Sat, May 26, 2012 at 1:12 AM, Kassen <signal.automatique at gmail.com> wrote:
> On Sat, May 26, 2012 at 12:56:42AM +0100, Scott Hewitt wrote:
>> Hi,
>>
>> I have often wondered if this behaviour should be detected by the
>> compiler / VM and cause an error to occur
>
> Wait, did I miss something? Maybe I sohould have looked more carefully
> but this just looked to me like a infinite loop that doesn't advance
> time, which is a example of the halting problem which is famously and
> provably unsolvable.
>
> In that kind of case you can guess that the VM may have halted, as the
> "watchdog" functionality that causes the popup in such cases in the
> MiniAudicle does, but you can't -in the general case- be sure.
>
> http://en.wikipedia.org/wiki/Halting_problem
>
> Yours,
> Kas.
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users


More information about the chuck-users mailing list