1import lldb 2import lldb.formatters 3import lldb.formatters.synth 4 5 6class SyntheticChildrenProvider( 7 lldb.formatters.synth.PythonObjectSyntheticChildProvider): 8 9 def __init__(self, value, internal_dict): 10 lldb.formatters.synth.PythonObjectSyntheticChildProvider.__init__( 11 self, value, internal_dict) 12 13 def make_children(self): 14 return [("ID", 123456), 15 ("Name", "Enrico"), 16 ("Rate", 1.25)] 17