mirror of
https://github.com/frida/frida-tools.git
synced 2026-11-07 09:35:59 -10:00
Evaluating an expression that yields a generator or other iterator object printed an empty object, since such objects have no own enumerable keys. Encode them as a new tagged value by pulling up to 100 items, marking when more remain, and label them by their toStringTag so a generator shows as Generator[...] and a Map iterator as Map Iterator[...]. The iterator is consumed by the display, as it would be by any other means of looking at its items.