Skip to content

Commit 3a9d1c6

Browse files
authored
fix: clarify behavior of start/count in variablesarguments (#580)
* fix: clarify arguments required for cancel/breakpointlocations Closes #576 Closes #266 * fix: clarify behavior of start/count in variablesarguments Closes #571
1 parent 0567339 commit 3a9d1c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

debugAdapterProtocol.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2148,11 +2148,11 @@
21482148
},
21492149
"start": {
21502150
"type": "integer",
2151-
"description": "The index of the first variable to return; if omitted children start at 0.\nThe attribute is only honored by a debug adapter if the corresponding capability `supportsVariablePaging` is true."
2151+
"description": "The index of the first variable to return; if omitted children start at 0. If the value of `start` exceeeds the number of available variables, the debug adapter should return an empty array.\nThe attribute is only honored by a debug adapter if the corresponding capability `supportsVariablePaging` is true."
21522152
},
21532153
"count": {
21542154
"type": "integer",
2155-
"description": "The number of variables to return. If count is missing or 0, all variables are returned.\nThe attribute is only honored by a debug adapter if the corresponding capability `supportsVariablePaging` is true."
2155+
"description": "The number of variables to return. If count is missing or 0, all variables are returned. If fewer than `count` variables are returned, the client should assume no further variables are available.\nThe attribute is only honored by a debug adapter if the corresponding capability `supportsVariablePaging` is true."
21562156
},
21572157
"format": {
21582158
"$ref": "#/definitions/ValueFormat",

0 commit comments

Comments
 (0)