more event handler debugging