Skip to content

Commit 5695897

Browse files
committed
v1.66.0
1 parent 1621133 commit 5695897

File tree

7 files changed

+51
-20
lines changed

7 files changed

+51
-20
lines changed

adapter/package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

adapter/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@vscode/debugadapter",
33
"description": "Debug adapter implementation for node",
4-
"version": "1.65.0",
4+
"version": "1.66.0",
55
"author": "Microsoft Corporation",
66
"license": "MIT",
77
"repository": {
@@ -21,7 +21,7 @@
2121
},
2222
"typings": "./lib/main",
2323
"dependencies": {
24-
"@vscode/debugprotocol": "1.65.0"
24+
"@vscode/debugprotocol": "1.66.0"
2525
},
2626
"devDependencies": {
2727
"@types/mocha": "^9.1.0",

debugProtocol.json

+29-4
Original file line numberDiff line numberDiff line change
@@ -1458,12 +1458,20 @@
14581458
},
14591459
"name": {
14601460
"type": "string",
1461-
"description": "The name of the variable's child to obtain data breakpoint information for.\nIf `variablesReference` isn't specified, this can be an expression."
1461+
"description": "The name of the variable's child to obtain data breakpoint information for.\nIf `variablesReference` isn't specified, this can be an expression, or an address if `asAddress` is also true."
14621462
},
14631463
"frameId": {
14641464
"type": "integer",
14651465
"description": "When `name` is an expression, evaluate it in the scope of this stack frame. If not specified, the expression is evaluated in the global scope. When `variablesReference` is specified, this property has no effect."
14661466
},
1467+
"bytes": {
1468+
"type": "integer",
1469+
"description": "If specified, a debug adapter should return information for the range of memory extending `bytes` number of bytes from the address or variable specified by `name`. Breakpoints set using the resulting data ID should pause on data access anywhere within that range.\n\nClients may set this property only if the `supportsDataBreakpointBytes` capability is true."
1470+
},
1471+
"asAddress": {
1472+
"type": "boolean",
1473+
"description": "If `true`, the `name` is a memory address and the debugger should interpret it as a decimal value, or hex value if it is prefixed with `0x`.\n\nClients may set this property only if the `supportsDataBreakpointBytes`\ncapability is true."
1474+
},
14671475
"mode": {
14681476
"type": "string",
14691477
"description": "The mode of the desired breakpoint. If defined, this must be one of the `breakpointModes` the debug adapter advertised in its `Capabilities`."
@@ -2500,6 +2508,18 @@
25002508
"type": "integer",
25012509
"description": "Evaluate the expression in the scope of this stack frame. If not specified, the expression is evaluated in the global scope."
25022510
},
2511+
"line": {
2512+
"type": "integer",
2513+
"description": "The contextual line where the expression should be evaluated. In the 'hover' context, this should be set to the start of the expression being hovered."
2514+
},
2515+
"column": {
2516+
"type": "integer",
2517+
"description": "The contextual column where the expression should be evaluated. This may be provided if `line` is also provided.\n\nIt is measured in UTF-16 code units and the client capability `columnsStartAt1` determines whether it is 0- or 1-based."
2518+
},
2519+
"source": {
2520+
"$ref": "#/definitions/Source",
2521+
"description": "The contextual source in which the `line` is found. This must be provided if `line` is provided."
2522+
},
25032523
"context": {
25042524
"type": "string",
25052525
"_enum": [ "watch", "repl", "hover", "clipboard", "variables" ],
@@ -3236,6 +3256,10 @@
32363256
"type": "boolean",
32373257
"description": "The debug adapter supports the `singleThread` property on the execution requests (`continue`, `next`, `stepIn`, `stepOut`, `reverseContinue`, `stepBack`)."
32383258
},
3259+
"supportsDataBreakpointBytes": {
3260+
"type": "boolean",
3261+
"description": "The debug adapter supports the `asAddress` and `bytes` fields in the `dataBreakpointInfo` request."
3262+
},
32393263
"breakpointModes": {
32403264
"type": "array",
32413265
"items": {
@@ -3521,11 +3545,12 @@
35213545
"presentationHint": {
35223546
"type": "string",
35233547
"description": "A hint for how to present this scope in the UI. If this attribute is missing, the scope is shown with a generic UI.",
3524-
"_enum": [ "arguments", "locals", "registers" ],
3548+
"_enum": [ "arguments", "locals", "registers", "returnValue" ],
35253549
"enumDescriptions": [
35263550
"Scope contains method arguments.",
35273551
"Scope contains local variables.",
3528-
"Scope contains registers. Only a single `registers` scope should be returned from a `scopes` request."
3552+
"Scope contains registers. Only a single `registers` scope should be returned from a `scopes` request.",
3553+
"Scope contains one or more return values."
35293554
]
35303555
},
35313556
"variablesReference": {
@@ -4240,7 +4265,7 @@
42404265
"enumDescriptions": [
42414266
"In `SourceBreakpoint`s",
42424267
"In exception breakpoints applied in the `ExceptionFilterOptions`",
4243-
"In data breakpoints requested in the the `DataBreakpointInfo` request",
4268+
"In data breakpoints requested in the `DataBreakpointInfo` request",
42444269
"In `InstructionBreakpoint`s"
42454270
],
42464271
"description": "Describes one or more type of breakpoint a `BreakpointMode` applies to. This is a non-exhaustive enumeration and may expand as future breakpoint types are added."

package-lock.json

+13-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protocol/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@vscode/debugprotocol",
33
"description": "Npm module with declarations for the Visual Studio Code debug protocol",
4-
"version": "1.65.0",
4+
"version": "1.66.0",
55
"author": "Microsoft Corporation",
66
"license": "MIT",
77
"repository": {

testSupport/package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

testSupport/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@vscode/debugadapter-testsupport",
33
"description": "Npm module with mocha test support for Visual Studio Code debug adapters",
4-
"version": "1.65.0",
4+
"version": "1.66.0",
55
"author": "Microsoft Corporation",
66
"license": "MIT",
77
"engines": {
@@ -17,7 +17,7 @@
1717
"main": "./lib/main.js",
1818
"typings": "./lib/main",
1919
"dependencies": {
20-
"@vscode/debugprotocol": "1.65.0"
20+
"@vscode/debugprotocol": "1.66.0"
2121
},
2222
"devDependencies": {
2323
"@types/node": "14.x",

0 commit comments

Comments
 (0)