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

want tool for printing V8-level object details #113

Open
davepacheco opened this issue Mar 20, 2018 · 0 comments
Open

want tool for printing V8-level object details #113

davepacheco opened this issue Mar 20, 2018 · 0 comments

Comments

@davepacheco
Copy link
Contributor

When debugging cases where an object is missing properties or has incorrect properties, one often needs to rummage through internal V8 structures, and I usually wind up adding debug printouts to jsobj_properties(). It would be useful to first-class this with a dcmd that could print out:

  • for all V8 heap objects: the address, the expected size in bytes of the object (including variable-sized pieces), and the ending address of the object
  • for JSObjects in particular, all of the information used to find property names and values, including the property descriptors array, and for each property: the index into the descriptor array, the type, the name, the value, and so on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant