It's done from DispatchDebugMessagesAsyncCallback().  The logic is kind of hard to follow because of the callbacks; it's not worse than before, just different.