Some months ago I made some smaller changes to SQVM.cpp to enable breaking a script that executes for a long while (which otherwise hangs the app).
The technique is to call an app specified callback, when VM execution 'jumps back' (ie, end of loop, or return statement). The app callback can then return a value to indicate continue / suspend / interrupt. It's been working fine since then.
Can I upload this patch to a Wiki page? I attempted to create a Wiki user, but the web software just gave error messages.
Regards
// ATS.