From 5b18514970a31e2b6cdaf8f560863e21954452bd Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 5 Aug 2016 14:01:24 -0700 Subject: [PATCH] Add some assorted debug messages --- src/event_loop.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/event_loop.rs b/src/event_loop.rs index ffaf232a9..37ae53a05 100644 --- a/src/event_loop.rs +++ b/src/event_loop.rs @@ -209,6 +209,8 @@ impl Loop { continue } + trace!("event {:?} {:?}", event.kind(), event.token()); + // For any other token we look at `dispatch` to see what we're // supposed to do. If there's a waiter we get ready to notify // it, and we also or-in atomically any events that have @@ -293,6 +295,7 @@ impl Loop { } }; if let Some(to_call) = to_call { + debug!("schedule immediately done"); self.notify_handle(to_call); } }