Index: lldb/examples/summaries/cocoa/CFArray.py =================================================================== --- lldb/examples/summaries/cocoa/CFArray.py +++ lldb/examples/summaries/cocoa/CFArray.py @@ -13,6 +13,11 @@ import lldb.formatters.metrics import lldb.formatters.Logger +try: + basestring +except NameError: + basestring = str + statistics = lldb.formatters.metrics.Metrics() statistics.add_metric('invalid_isa') statistics.add_metric('invalid_pointer') Index: lldb/examples/summaries/cocoa/CFBag.py =================================================================== --- lldb/examples/summaries/cocoa/CFBag.py +++ lldb/examples/summaries/cocoa/CFBag.py @@ -13,6 +13,11 @@ import lldb.formatters.metrics import lldb.formatters.Logger +try: + basestring +except NameError: + basestring = str + statistics = lldb.formatters.metrics.Metrics() statistics.add_metric('invalid_isa') statistics.add_metric('invalid_pointer') Index: lldb/examples/summaries/cocoa/CFBinaryHeap.py =================================================================== --- lldb/examples/summaries/cocoa/CFBinaryHeap.py +++ lldb/examples/summaries/cocoa/CFBinaryHeap.py @@ -13,6 +13,11 @@ import lldb.formatters.metrics import lldb.formatters.Logger +try: + basestring +except NameError: + basestring = str + statistics = lldb.formatters.metrics.Metrics() statistics.add_metric('invalid_isa') statistics.add_metric('invalid_pointer') Index: lldb/examples/summaries/cocoa/CFDictionary.py =================================================================== --- lldb/examples/summaries/cocoa/CFDictionary.py +++ lldb/examples/summaries/cocoa/CFDictionary.py @@ -13,6 +13,11 @@ import lldb.formatters.metrics import lldb.formatters.Logger +try: + basestring +except NameError + basestring = str + statistics = lldb.formatters.metrics.Metrics() statistics.add_metric('invalid_isa') statistics.add_metric('invalid_pointer') Index: lldb/examples/summaries/cocoa/NSData.py =================================================================== --- lldb/examples/summaries/cocoa/NSData.py +++ lldb/examples/summaries/cocoa/NSData.py @@ -13,6 +13,11 @@ import lldb.formatters.metrics import lldb.formatters.Logger +try: + basestring +except NameError: + basestring = str + statistics = lldb.formatters.metrics.Metrics() statistics.add_metric('invalid_isa') statistics.add_metric('invalid_pointer') Index: lldb/examples/summaries/cocoa/NSIndexSet.py =================================================================== --- lldb/examples/summaries/cocoa/NSIndexSet.py +++ lldb/examples/summaries/cocoa/NSIndexSet.py @@ -13,6 +13,11 @@ import lldb.formatters.metrics import lldb.formatters.Logger +try: + basestring +except NameError: + basestring = str + statistics = lldb.formatters.metrics.Metrics() statistics.add_metric('invalid_isa') statistics.add_metric('invalid_pointer') Index: lldb/examples/summaries/cocoa/NSMachPort.py =================================================================== --- lldb/examples/summaries/cocoa/NSMachPort.py +++ lldb/examples/summaries/cocoa/NSMachPort.py @@ -13,6 +13,11 @@ import lldb.formatters.metrics import lldb.formatters.Logger +try: + basestring +except NameError: + basestring =str + statistics = lldb.formatters.metrics.Metrics() statistics.add_metric('invalid_isa') statistics.add_metric('invalid_pointer') Index: lldb/examples/summaries/cocoa/NSSet.py =================================================================== --- lldb/examples/summaries/cocoa/NSSet.py +++ lldb/examples/summaries/cocoa/NSSet.py @@ -13,6 +13,11 @@ import CFBag import lldb.formatters.Logger +try: + basestring +except NameError: + basestring = str + statistics = lldb.formatters.metrics.Metrics() statistics.add_metric('invalid_isa') statistics.add_metric('invalid_pointer')