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 "jsfunction" dcmd #44

Closed
davepacheco opened this issue Oct 8, 2015 · 1 comment
Closed

want "jsfunction" dcmd #44

davepacheco opened this issue Oct 8, 2015 · 1 comment
Assignees

Comments

@davepacheco
Copy link
Contributor

It would be useful to have a "jsfunction" command that prints out the full name of a function, where it was defined, scope information, and links to the source code and parent function (based on the scope information). This slightly overlaps with v8function, but would focus on JS-level state. Right now, if users have a pointer to a function, they don't have a good way of figuring out what that is without digging into V8-level dcmds.

@davepacheco
Copy link
Contributor Author

I drafted this under #88. See that ticket for example docs.

joyent-automation pushed a commit that referenced this issue Aug 25, 2017
#88 want better support for bound functions
#91 CTRL+C of ::findjsobjects, followed by ::findjsobjects reports only some objects
Reviewed by: Cody Peter Mello <cody.mello@joyent.com>
Approved by: Cody Peter Mello <cody.mello@joyent.com>
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

2 participants