Skip to content

Comments

Add a settings to control the max variable numbers in one JDWP request#862

Merged
testforstephen merged 2 commits intomicrosoft:masterfrom
testforstephen:jinbo_variables
Aug 12, 2020
Merged

Add a settings to control the max variable numbers in one JDWP request#862
testforstephen merged 2 commits intomicrosoft:masterfrom
testforstephen:jinbo_variables

Conversation

@testforstephen
Copy link
Contributor

This requires microsoft/java-debug#347

package.nls.json Outdated
"java.debugger.configuration.console": "The specified console to launch Java program. If you want to customize the console for a specific debug session, please modify the 'console' config in launch.json.",
"java.debugger.configuration.exceptionBreakpoint.skipClasses": "Skip the specified classes when breaking on exception. You could use the built-in variables such as '$JDK' and '$Libraries' to skip a group of classes, or add a specific class name expression, e.g. java.*, *.Foo"
"java.debugger.configuration.exceptionBreakpoint.skipClasses": "Skip the specified classes when breaking on exception. You could use the built-in variables such as '$JDK' and '$Libraries' to skip a group of classes, or add a specific class name expression, e.g. java.*, *.Foo",
"java.debugger.configuration.limitOfVariablesPerJdwpRequest.description": "The maximum number of variables or fields that can be requested in one JDWP request. The higher the value, the less frequently debuggee will be requested when expanding the variable view."
Copy link
Member

Choose a reason for hiding this comment

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

The higher the value, the less frequently

Also metion larger latency?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

How about adding some words at the end. for example:

Also a large number can cause JDWP request timeout.

@testforstephen testforstephen merged commit 6ea8b9b into microsoft:master Aug 12, 2020
@testforstephen testforstephen deleted the jinbo_variables branch August 12, 2020 02:04
@testforstephen testforstephen added this to the 0.28.0 milestone Aug 25, 2020
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