add throw(), add debug log for EventProtocol, fix typo, update framework