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

fix: clarify of variableReference after setVariable #492

Merged
merged 1 commit into from
Aug 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion debugAdapterProtocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -2231,7 +2231,7 @@
},
"variablesReference": {
"type": "integer",
"description": "If `variablesReference` is > 0, the new value is structured and its children can be retrieved by passing `variablesReference` to the `variables` request as long as execution remains suspended. See 'Lifetime of Object References' in the Overview section for details."
"description": "If `variablesReference` is > 0, the new value is structured and its children can be retrieved by passing `variablesReference` to the `variables` request as long as execution remains suspended. See 'Lifetime of Object References' in the Overview section for details.\n\nIf this property is included in the response, any `variablesReference` previously associated with the updated variable, and those of its children, are no longer valid."
},
"namedVariables": {
"type": "integer",
Expand Down
4 changes: 4 additions & 0 deletions specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -2405,6 +2405,10 @@ interface SetVariableResponse extends Response {
* children can be retrieved by passing `variablesReference` to the
* `variables` request as long as execution remains suspended. See 'Lifetime
* of Object References' in the Overview section for details.
*
* If this property is included in the response, any `variablesReference`
* previously associated with the updated variable, and those of its
* children, are no longer valid.
*/
variablesReference?: number;

Expand Down