Debug invalid operations