Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WeakMap introspection #3

Open
DavidBruant opened this issue May 20, 2012 · 1 comment
Open

WeakMap introspection #3

DavidBruant opened this issue May 20, 2012 · 1 comment

Comments

@DavidBruant
Copy link

For now, there is no way to introspect weakmaps, maps and sets.
For all, an accessor like .allKeys could do the job of enumerating all keys (which can be particularly useful for debugging WeakMaps).

Since WeakMap.prototype methods could be overridden in the debuggee, having reflection methods to map the prototype methods will also be necessary.

@jimblandy
Copy link
Owner

Absolutely. I'll file bugs for this tomorrow morning.
On May 20, 2012 10:15 AM, "David Bruant" <
reply@reply.github.com>
wrote:

For now, there is no way to introspect weakmaps, maps and sets.
For all, an accessor like .allKeys could do the job of enumerating all
keys (which can be particularly useful for debugging WeakMaps).

Since WeakMap.prototype methods could be overridden in the debuggee,
having reflection methods to map the prototype methods will also be
necessary.


Reply to this email directly or view it on GitHub:
#3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants