Commit 650d8710 authored by Christian Stenger's avatar Christian Stenger

Squish: Do not rely on default installation path

Change-Id: Iac5d45b3cbdb5ecb18d971b37189b27164abbaf3
Reviewed-by: default avatarRobert Loehning <robert.loehning@digia.com>
parent 93bdd527
......@@ -217,8 +217,8 @@ def __getExpectedDebuggers__():
debuggers = ["gdb", "lldb"]
result.extend(filter(None, map(which, debuggers)))
if platform.system() == 'Darwin':
xcodeLLDB = "/Applications/Xcode.app/Contents/Developer/usr/bin/lldb"
if os.path.exists(xcodeLLDB):
xcodeLLDB = getOutputFromCmdline("xcrun --find lldb").strip("\n")
if xcodeLLDB and os.path.exists(xcodeLLDB) and xcodeLLDB not in result:
result.append(xcodeLLDB)
return result
......
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