A New Solution to On-Line Detection of Control Flow Errors