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

JDWP overhaul #1733

Merged
merged 1 commit into from
Mar 8, 2018
Merged

JDWP overhaul #1733

merged 1 commit into from
Mar 8, 2018

Conversation

ben-clayton
Copy link
Contributor

Add a debug mode which prints every send and recv.
Add string helpers for the majority of the message types.
Flesh out thread-reference APIs.
Reimplement the event request API to be more strict about thread suspension.

Add a debug mode which prints every send and recv.
Add string helpers for the majority of the message types.
Flesh out thread-reference APIs.
Reimplement the event request API to be more strict about thread suspension.
}
cmdNames[c] = n
}
register(cmdVirtualMachineVersion, "Version")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not just make the name a field in the cmd struct?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because if we get a cmdSet and cmdID from somewhere else (say the wire), we can use struct-equality to lookup the name.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@ben-clayton ben-clayton merged commit d28080d into google:master Mar 8, 2018
@ben-clayton ben-clayton deleted the jdwp-dbg branch March 8, 2018 17:00
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

Successfully merging this pull request may close these issues.

3 participants