Skip to content

Commit

Permalink
Fix BreakpointMode and some minor issues (#828)
Browse files Browse the repository at this point in the history
  • Loading branch information
KamasamaK committed Apr 20, 2024
1 parent 9f66dfd commit d075751
Showing 1 changed file with 7 additions and 4 deletions.
Expand Up @@ -271,7 +271,7 @@ class OutputEventArguments {
*/
OutputEventArgumentsGroup group;
/**
* If an attribute `variablesReference` exists and its value is > 0, the output
* If an attribute `variablesReference` exists and its value is > 0, the output
* contains objects which can be retrieved by passing `variablesReference` to the
* `variables` request as long as execution remains suspended. See 'Lifetime of
* Object References' in the {@link DebugProtocol#Overview} section for details.
Expand Down Expand Up @@ -1674,7 +1674,7 @@ class VariablesArguments {
* The index of the first variable to return; if omitted children start at 0.
* <p>
* The attribute is only honored by a debug adapter if the corresponding
* capability {@link Capabilities#supportsVariablePaging} is true.
* capability {@link InitializeRequestArguments#getSupportsVariablePaging} is true.
* <p>
* This is an optional property.
*/
Expand All @@ -1683,7 +1683,7 @@ class VariablesArguments {
* The number of variables to return. If count is missing or 0, all variables are returned.
* <p>
* The attribute is only honored by a debug adapter if the corresponding
* capability {@link Capabilities#supportsVariablePaging} is true.
* capability {@link InitializeRequestArguments#getSupportsVariablePaging} is true.
* <p>
* This is an optional property.
*/
Expand Down Expand Up @@ -1971,7 +1971,7 @@ class EvaluateResponse {
* <p>
* For pointer type eval results, this is generally a reference to the memory address contained in the pointer.
* <p>
* This attribute should be returned by a debug adapter if corresponding capability
* This attribute may be returned by a debug adapter if corresponding capability
* {@link InitializeRequestArguments#getSupportsMemoryReferences} is true.
* <p>
* This is an optional property.
Expand Down Expand Up @@ -2728,6 +2728,7 @@ class Capabilities {
* <p>
* Since 1.65
*/
@JsonRpcData
class BreakpointMode {
/**
* The internal ID of the mode. This value is passed to the `setBreakpoints` request.
Expand All @@ -2748,6 +2749,8 @@ class BreakpointMode {
String description;
/**
* Describes one or more type of breakpoint this mode applies to.
* <p>
* Possible values include - but not limited to those defined in {@link BreakpointModeApplicability}
*/
@NonNull
String[] appliesTo;
Expand Down

0 comments on commit d075751

Please sign in to comment.