Commit 1af0f77e authored by hjk's avatar hjk
Browse files

Debugger: Wiggle LLDB startup

LLDB 320.* from XCode 601 was unhappy. This is an trial-and-error
to get it start up again.

Change-Id: I5dda0eef785d70abbb5798c3884ace89a8426969
Reviewed-by: default avatarFawzi Mohamed <>
parent 68106a7d
......@@ -665,10 +665,11 @@ class Dumper(DumperBase):'state="%s",msg="%s",exe="%s"' % (state, error, self.executable_))
def runEngine(self, _):
s = threading.Thread(target=self.loop, args=[])
def loop(self):
def prepare(self):
error = lldb.SBError()
listener = self.debugger.GetListener()
......@@ -710,7 +711,9 @@ class Dumper(DumperBase):'pid="%s"' % self.process.GetProcessID())
def loop(self):
event = lldb.SBEvent()
listener = self.debugger.GetListener()
while True:
if listener.WaitForEvent(10000000, event):
Supports Markdown
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