|
1458 | 1458 | },
|
1459 | 1459 | "name": {
|
1460 | 1460 | "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." |
1462 | 1462 | },
|
1463 | 1463 | "frameId": {
|
1464 | 1464 | "type": "integer",
|
1465 | 1465 | "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 | 1466 | },
|
| 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 | + }, |
1467 | 1475 | "mode": {
|
1468 | 1476 | "type": "string",
|
1469 | 1477 | "description": "The mode of the desired breakpoint. If defined, this must be one of the `breakpointModes` the debug adapter advertised in its `Capabilities`."
|
|
2500 | 2508 | "type": "integer",
|
2501 | 2509 | "description": "Evaluate the expression in the scope of this stack frame. If not specified, the expression is evaluated in the global scope."
|
2502 | 2510 | },
|
| 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 | + }, |
2503 | 2523 | "context": {
|
2504 | 2524 | "type": "string",
|
2505 | 2525 | "_enum": [ "watch", "repl", "hover", "clipboard", "variables" ],
|
|
3236 | 3256 | "type": "boolean",
|
3237 | 3257 | "description": "The debug adapter supports the `singleThread` property on the execution requests (`continue`, `next`, `stepIn`, `stepOut`, `reverseContinue`, `stepBack`)."
|
3238 | 3258 | },
|
| 3259 | + "supportsDataBreakpointBytes": { |
| 3260 | + "type": "boolean", |
| 3261 | + "description": "The debug adapter supports the `asAddress` and `bytes` fields in the `dataBreakpointInfo` request." |
| 3262 | + }, |
3239 | 3263 | "breakpointModes": {
|
3240 | 3264 | "type": "array",
|
3241 | 3265 | "items": {
|
|
3521 | 3545 | "presentationHint": {
|
3522 | 3546 | "type": "string",
|
3523 | 3547 | "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" ], |
3525 | 3549 | "enumDescriptions": [
|
3526 | 3550 | "Scope contains method arguments.",
|
3527 | 3551 | "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." |
3529 | 3554 | ]
|
3530 | 3555 | },
|
3531 | 3556 | "variablesReference": {
|
|
4240 | 4265 | "enumDescriptions": [
|
4241 | 4266 | "In `SourceBreakpoint`s",
|
4242 | 4267 | "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", |
4244 | 4269 | "In `InstructionBreakpoint`s"
|
4245 | 4270 | ],
|
4246 | 4271 | "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."
|
|
0 commit comments