Commit 27e03e6f authored by hjk's avatar hjk
Browse files

Debugger: Do not run engines twice

There seems to be race in the LLDB setup on Linux. Work around
by not doing serious work twice to be able to use the test at least.

Change-Id: I387a57d3c66e6c4209bd424af9be16f17acb98fa
Reviewed-by: Christian Stenger's avatarChristian Stenger <>
parent 6b2665a1
......@@ -94,6 +94,7 @@ class Dumper(DumperBase):
self.process = None = None
self.eventState = lldb.eStateInvalid
self.runEngineAttempted = False
self.executable_ = None
self.startMode_ = None
......@@ -612,6 +613,9 @@ class Dumper(DumperBase):
% (state, error, self.executable_), args)
def runEngine(self, args):
if self.runEngineAttempted:
self.runEngineAttempted = True
s = threading.Thread(target=self.loop, args=[])
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