Skip to content

Commit 3e140aa

Browse files
committed
v1.65.0
1 parent 1a4c6fd commit 3e140aa

File tree

7 files changed

+83
-18
lines changed

7 files changed

+83
-18
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.64.0",
4+
"version": "1.65.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.64.0"
24+
"@vscode/debugprotocol": "1.65.0"
2525
},
2626
"devDependencies": {
2727
"@types/mocha": "^9.1.0",

debugProtocol.json

+61-2
Original file line numberDiff line numberDiff line change
@@ -1370,7 +1370,7 @@
13701370
"SetExceptionBreakpointsRequest": {
13711371
"allOf": [ { "$ref": "#/definitions/Request" }, {
13721372
"type": "object",
1373-
"description": "The request configures the debugger's response to thrown exceptions.\nIf an exception is configured to break, a `stopped` event is fired (with reason `exception`).\nClients should only call this request if the corresponding capability `exceptionBreakpointFilters` returns one or more filters.",
1373+
"description": "The request configures the debugger's response to thrown exceptions. Each of the `filters`, `filterOptions`, and `exceptionOptions` in the request are independent configurations to a debug adapter indicating a kind of exception to catch. An exception thrown in a program should result in a `stopped` event from the debug adapter (with reason `exception`) if any of the configured filters match.\nClients should only call this request if the corresponding capability `exceptionBreakpointFilters` returns one or more filters.",
13741374
"properties": {
13751375
"command": {
13761376
"type": "string",
@@ -1463,6 +1463,10 @@
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."
1466+
},
1467+
"mode": {
1468+
"type": "string",
1469+
"description": "The mode of the desired breakpoint. If defined, this must be one of the `breakpointModes` the debug adapter advertised in its `Capabilities`."
14661470
}
14671471
},
14681472
"required": [ "name" ]
@@ -3231,6 +3235,13 @@
32313235
"supportsSingleThreadExecutionRequests": {
32323236
"type": "boolean",
32333237
"description": "The debug adapter supports the `singleThread` property on the execution requests (`continue`, `next`, `stepIn`, `stepOut`, `reverseContinue`, `stepBack`)."
3238+
},
3239+
"breakpointModes": {
3240+
"type": "array",
3241+
"items": {
3242+
"$ref": "#/definitions/BreakpointMode"
3243+
},
3244+
"description": "Modes of breakpoints supported by the debug adapter, such as 'hardware' or 'software'. If present, the client may allow the user to select a mode and include it in its `setBreakpoints` request.\n\nClients may present the first applicable mode in this array as the 'default' mode in gestures that set breakpoints."
32343245
}
32353246
}
32363247
},
@@ -3700,6 +3711,10 @@
37003711
"logMessage": {
37013712
"type": "string",
37023713
"description": "If this attribute exists and is non-empty, the debug adapter must not 'break' (stop)\nbut log the message instead. Expressions within `{}` are interpolated.\nThe attribute is only honored by a debug adapter if the corresponding capability `supportsLogPoints` is true.\nIf either `hitCondition` or `condition` is specified, then the message should only be logged if those conditions are met."
3714+
},
3715+
"mode": {
3716+
"type": "string",
3717+
"description": "The mode of this breakpoint. If defined, this must be one of the `breakpointModes` the debug adapter advertised in its `Capabilities`."
37033718
}
37043719
},
37053720
"required": [ "line" ]
@@ -3774,6 +3789,10 @@
37743789
"hitCondition": {
37753790
"type": "string",
37763791
"description": "An expression that controls how many hits of the breakpoint are ignored.\nThe debug adapter is expected to interpret the expression as needed.\nThe attribute is only honored by a debug adapter if the corresponding capability `supportsHitConditionalBreakpoints` is true."
3792+
},
3793+
"mode": {
3794+
"type": "string",
3795+
"description": "The mode of this breakpoint. If defined, this must be one of the `breakpointModes` the debug adapter advertised in its `Capabilities`."
37773796
}
37783797
},
37793798
"required": [ "instructionReference" ]
@@ -4042,6 +4061,10 @@
40424061
"condition": {
40434062
"type": "string",
40444063
"description": "An expression for conditional exceptions.\nThe exception breaks into the debugger if the result of the condition is true."
4064+
},
4065+
"mode": {
4066+
"type": "string",
4067+
"description": "The mode of this exception breakpoint. If defined, this must be one of the `breakpointModes` the debug adapter advertised in its `Capabilities`."
40454068
}
40464069
},
40474070
"required": [ "filterId" ]
@@ -4184,7 +4207,43 @@
41844207
"Previously fetched thread related data has become invalid and needs to be refetched.",
41854208
"Previously fetched variable data has become invalid and needs to be refetched."
41864209
]
4210+
},
4211+
"BreakpointMode": {
4212+
"type": "object",
4213+
"description": "A `BreakpointMode` is provided as a option when setting breakpoints on sources or instructions.",
4214+
"required": ["mode", "label", "appliesTo"],
4215+
"properties": {
4216+
"mode": {
4217+
"type": "string",
4218+
"description": "The internal ID of the mode. This value is passed to the `setBreakpoints` request."
4219+
},
4220+
"label": {
4221+
"type": "string",
4222+
"description": "The name of the breakpoint mode. This is shown in the UI."
4223+
},
4224+
"description": {
4225+
"type": "string",
4226+
"description": "A help text providing additional information about the breakpoint mode. This string is typically shown as a hover and can be translated."
4227+
},
4228+
"appliesTo": {
4229+
"type": "array",
4230+
"items": {
4231+
"$ref": "#/definitions/BreakpointModeApplicability"
4232+
},
4233+
"description": "Describes one or more type of breakpoint this mode applies to."
4234+
}
4235+
}
4236+
},
4237+
"BreakpointModeApplicability": {
4238+
"type": "string",
4239+
"_enum": ["source", "exception", "data", "instruction"],
4240+
"enumDescriptions": [
4241+
"In `SourceBreakpoint`s",
4242+
"In exception breakpoints applied in the `ExceptionFilterOptions`",
4243+
"In data breakpoints requested in the the `DataBreakpointInfo` request",
4244+
"In `InstructionBreakpoint`s"
4245+
],
4246+
"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."
41874247
}
4188-
41894248
}
41904249
}

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.64.0",
4+
"version": "1.65.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.64.0",
4+
"version": "1.65.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.64.0"
20+
"@vscode/debugprotocol": "1.65.0"
2121
},
2222
"devDependencies": {
2323
"@types/node": "14.x",

0 commit comments

Comments
 (0)