debug cnt event loop