Commit fe296e2b authored by hjk's avatar hjk
Browse files

Debugger: Disable build-in LLDB formatters for old LLDB

This is kind of hot fix to solve conflicts with Creator's
pretty printing in the LLDB 179.5 context which does not
seem to handle SBValue.SetPreferSyntheticValue.

Change-Id: I9837bd3044a9ec90c67de3060d5895ae0b6b8653
Reviewed-by: default avatarhjk <>
parent 6db66ed7
......@@ -507,6 +507,10 @@ class Dumper:
#self.debugger.EnableLog("lldb", ["all"])
self.debugger.HandleCommand("settings set auto-confirm on")
if not hasattr(lldb.SBType, 'GetCanonicalType'): # "Test" for 179.5
self.debugger.HandleCommand('type category delete gnu-libstdc++')
self.debugger.HandleCommand('type category delete libcxx')
self.process = None = None
self.eventState = lldb.eStateInvalid
......@@ -1618,6 +1622,7 @@ execfile(os.path.join(currentDir, ""))
def doit():
db = Dumper()'lldbversion="%s"' % lldb.SBDebugger.GetVersionString())'state="enginesetupok"')
while True:
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