You could try creating them as .dll/.so files and attempt to debug your way out. I'm not really sure that .qvms have a debug mode or not.
---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder