Skip to content

Commit

Permalink
Clarify lifetime of DataBreakpoint.dataId
Browse files Browse the repository at this point in the history
  • Loading branch information
connor4312 committed Jun 7, 2023
1 parent 76addb3 commit 3a747cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ sectionid: changelog

#### All notable changes to the specification will be documented in this file.

* 1.62.x
* Clarify lifetime of `DataBreakpoint.dataId`

* 1.61.x
* Removed unused `ModulesViewDescriptor` interface
* Clarify the applicability of `supportsVariablePaging`
Expand Down
2 changes: 1 addition & 1 deletion debugAdapterProtocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -1477,7 +1477,7 @@
"properties": {
"dataId": {
"type": [ "string", "null" ],
"description": "An identifier for the data on which a data breakpoint can be registered with the `setDataBreakpoints` request or null if no data breakpoint is available."
"description": "An identifier for the data on which a data breakpoint can be registered with the `setDataBreakpoints` request or null if no data breakpoint is available. If a `variablesReference` or `frameId` is passed, the `dataId` is valid in the current suspended state, otherwise it's valid indefinitely. See 'Lifetime of Object References' in the Overview section for details. Breakpoints set using the `dataId` in the `setDataBreakpoints` request may outlive the lifetime of the associated `dataId`."
},
"description": {
"type": "string",
Expand Down

0 comments on commit 3a747cd

Please sign in to comment.