Skip to content

Commit 00c1d78

Browse files
authored
clarify eof behavior for readMemory (#353)
* clarify eof behavior for readMemory * fix nit
1 parent 8e21c50 commit 00c1d78

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ sectionid: changelog
88

99
* 1.59.x:
1010
* Clarify the lifetime of `variablesReference`.
11+
* Clarify end of file behavior for `readMemory`.
1112

1213
* 1.58.x:
1314
* Specify the measurement unit of various `column` and "character positions" properties to be "UTF-16 code units".

debugAdapterProtocol.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2912,7 +2912,7 @@
29122912
},
29132913
"data": {
29142914
"type": "string",
2915-
"description": "The bytes read from memory, encoded using base64."
2915+
"description": "The bytes read from memory, encoded using base64. If the decoded length of `data` is less than the requested `count` in the original `readMemory` request, and `unreadableBytes` is zero or omitted, then the client should assume it's reached the end of readable memory."
29162916
}
29172917
},
29182918
"required": [ "address" ]

0 commit comments

Comments
 (0)