17 lines
458 B
Python
17 lines
458 B
Python
import lldb
|
|
import lldb.formatters
|
|
import lldb.formatters.synth
|
|
|
|
|
|
class SyntheticChildrenProvider(
|
|
lldb.formatters.synth.PythonObjectSyntheticChildProvider):
|
|
|
|
def __init__(self, value, internal_dict):
|
|
lldb.formatters.synth.PythonObjectSyntheticChildProvider.__init__(
|
|
self, value, internal_dict)
|
|
|
|
def make_children(self):
|
|
return [("ID", 123456),
|
|
("Name", "Enrico"),
|
|
("Rate", 1.25)]
|