Commit a5e0ab13 authored by hjk's avatar hjk

Debugger: avoid using sys.maxsize, Mac doesn't like it

Change-Id: Ie58d19d24a80b71527bb5381bb3cc33475f1f8cb
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent f863fa60
......@@ -1212,7 +1212,9 @@ class Dumper:
def loop(self):
event = lldb.SBEvent()
while True:
if self.listener.WaitForEvent(sys.maxsize, event):
# Mac LLDB doesn't like sys.maxsize
# if self.listener.WaitForEvent(sys.maxsize, event):
if self.listener.WaitForEvent(10000000, event):
self.handleEvent(event)
else:
warn('TIMEOUT')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment