blob: c263190c10286c20cfe424e0430c615e2b291682 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
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)]
|