Debugging 'vm_validate' function