Skip to content

Commit

Permalink
v1.65.0
Browse files Browse the repository at this point in the history
  • Loading branch information
connor4312 committed Feb 27, 2024
1 parent 1a4c6fd commit 3e140aa
Show file tree
Hide file tree
Showing 7 changed files with 83 additions and 18 deletions.
4 changes: 2 additions & 2 deletions adapter/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions adapter/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@vscode/debugadapter",
"description": "Debug adapter implementation for node",
"version": "1.64.0",
"version": "1.65.0",
"author": "Microsoft Corporation",
"license": "MIT",
"repository": {
Expand All @@ -21,7 +21,7 @@
},
"typings": "./lib/main",
"dependencies": {
"@vscode/debugprotocol": "1.64.0"
"@vscode/debugprotocol": "1.65.0"
},
"devDependencies": {
"@types/mocha": "^9.1.0",
Expand Down
63 changes: 61 additions & 2 deletions debugProtocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -1370,7 +1370,7 @@
"SetExceptionBreakpointsRequest": {
"allOf": [ { "$ref": "#/definitions/Request" }, {
"type": "object",
"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.",
"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.",
"properties": {
"command": {
"type": "string",
Expand Down Expand Up @@ -1463,6 +1463,10 @@
"frameId": {
"type": "integer",
"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."
},
"mode": {
"type": "string",
"description": "The mode of the desired breakpoint. If defined, this must be one of the `breakpointModes` the debug adapter advertised in its `Capabilities`."
}
},
"required": [ "name" ]
Expand Down Expand Up @@ -3231,6 +3235,13 @@
"supportsSingleThreadExecutionRequests": {
"type": "boolean",
"description": "The debug adapter supports the `singleThread` property on the execution requests (`continue`, `next`, `stepIn`, `stepOut`, `reverseContinue`, `stepBack`)."
},
"breakpointModes": {
"type": "array",
"items": {
"$ref": "#/definitions/BreakpointMode"
},
"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."
}
}
},
Expand Down Expand Up @@ -3700,6 +3711,10 @@
"logMessage": {
"type": "string",
"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."
},
"mode": {
"type": "string",
"description": "The mode of this breakpoint. If defined, this must be one of the `breakpointModes` the debug adapter advertised in its `Capabilities`."
}
},
"required": [ "line" ]
Expand Down Expand Up @@ -3774,6 +3789,10 @@
"hitCondition": {
"type": "string",
"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."
},
"mode": {
"type": "string",
"description": "The mode of this breakpoint. If defined, this must be one of the `breakpointModes` the debug adapter advertised in its `Capabilities`."
}
},
"required": [ "instructionReference" ]
Expand Down Expand Up @@ -4042,6 +4061,10 @@
"condition": {
"type": "string",
"description": "An expression for conditional exceptions.\nThe exception breaks into the debugger if the result of the condition is true."
},
"mode": {
"type": "string",
"description": "The mode of this exception breakpoint. If defined, this must be one of the `breakpointModes` the debug adapter advertised in its `Capabilities`."
}
},
"required": [ "filterId" ]
Expand Down Expand Up @@ -4184,7 +4207,43 @@
"Previously fetched thread related data has become invalid and needs to be refetched.",
"Previously fetched variable data has become invalid and needs to be refetched."
]
},
"BreakpointMode": {
"type": "object",
"description": "A `BreakpointMode` is provided as a option when setting breakpoints on sources or instructions.",
"required": ["mode", "label", "appliesTo"],
"properties": {
"mode": {
"type": "string",
"description": "The internal ID of the mode. This value is passed to the `setBreakpoints` request."
},
"label": {
"type": "string",
"description": "The name of the breakpoint mode. This is shown in the UI."
},
"description": {
"type": "string",
"description": "A help text providing additional information about the breakpoint mode. This string is typically shown as a hover and can be translated."
},
"appliesTo": {
"type": "array",
"items": {
"$ref": "#/definitions/BreakpointModeApplicability"
},
"description": "Describes one or more type of breakpoint this mode applies to."
}
}
},
"BreakpointModeApplicability": {
"type": "string",
"_enum": ["source", "exception", "data", "instruction"],
"enumDescriptions": [
"In `SourceBreakpoint`s",
"In exception breakpoints applied in the `ExceptionFilterOptions`",
"In data breakpoints requested in the the `DataBreakpointInfo` request",
"In `InstructionBreakpoint`s"
],
"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."
}

}
}
20 changes: 13 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion protocol/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@vscode/debugprotocol",
"description": "Npm module with declarations for the Visual Studio Code debug protocol",
"version": "1.64.0",
"version": "1.65.0",
"author": "Microsoft Corporation",
"license": "MIT",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions testSupport/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions testSupport/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@vscode/debugadapter-testsupport",
"description": "Npm module with mocha test support for Visual Studio Code debug adapters",
"version": "1.64.0",
"version": "1.65.0",
"author": "Microsoft Corporation",
"license": "MIT",
"engines": {
Expand All @@ -17,7 +17,7 @@
"main": "./lib/main.js",
"typings": "./lib/main",
"dependencies": {
"@vscode/debugprotocol": "1.64.0"
"@vscode/debugprotocol": "1.65.0"
},
"devDependencies": {
"@types/node": "14.x",
Expand Down

0 comments on commit 3e140aa

Please sign in to comment.