debuging instant messaging