X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/3903760236c30e3b5ace7a4eefac3a269d68957c..refs/heads/master:/tools/lldbmacros/usertaskdebugging/interface.py diff --git a/tools/lldbmacros/usertaskdebugging/interface.py b/tools/lldbmacros/usertaskdebugging/interface.py old mode 100644 new mode 100755 index 590541f4b..900bc18aa --- a/tools/lldbmacros/usertaskdebugging/interface.py +++ b/tools/lldbmacros/usertaskdebugging/interface.py @@ -24,14 +24,14 @@ class Interface(object): ra,wa,ea = select.select([self.socket], [], [], 30) if not ra: num_retries -= 1 - logging.error("select returned empty list") + logging.warning("timeout: select returned empty list. retrying..") continue self.connection, addr = self.socket.accept() logging.info("Connected to client from %s" % str(addr)) return True logging.error("Failed to connect. Exiting after multiple attempts.") return False - + def read(self): if self.isblocking: #BUG TODO make this unblocking soon