Commit d8550ca6 authored by hjk's avatar hjk
Browse files

Debugger: use 'gen_printer' instead of 'invoke' when importing dumpers

Seems to be more widespread.

Change-Id: I3fe161844b78970e321b4d91e18a411456dbeb9a
Reviewed-by: default avatarSven Anderson <>
Reviewed-by: default avatarhjk <>
parent 25f9de11
...@@ -1975,7 +1975,7 @@ class PlainDumper: ...@@ -1975,7 +1975,7 @@ class PlainDumper:
self.printer = printer self.printer = printer
def __call__(self, d, value): def __call__(self, d, value):
printer = self.printer.invoke(value) printer = self.printer.gen_printer(value)
lister = getattr(printer, "children", None) lister = getattr(printer, "children", None)
children = [] if lister is None else list(lister()) children = [] if lister is None else list(lister())
d.putType( d.putType(
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