throw error in io-debug