Update the DAP schema.

This commit is contained in:
Eric Snow 2018-03-02 00:39:31 +00:00
parent 70efe72123
commit 33d441ce25
2 changed files with 37 additions and 5 deletions

View file

@ -1,4 +1,4 @@
upstream: https://github.com/Microsoft/vscode-debugadapter-node/raw/master/debugProtocol.json
revision: 393919e9ae7e469c40bcd3625bd3c72f5412fb2a
checksum: 24a370d038f7875f4db2631d5238fd17
downloaded: 2018-01-10 00:47:10 (UTC)
revision: e29c5ea5043add9e87217d260ee370fe7bb794e9
checksum: 6d8418c78394539b972d428accc3d30a
downloaded: 2018-03-02 00:38:25 (UTC)

View file

@ -441,6 +441,30 @@
]
},
"CapabilitiesEvent": {
"allOf": [ { "$ref": "#/definitions/Event" }, {
"type": "object",
"description": "Event message for 'capabilities' event type.\nThe event indicates that one or more capabilities have changed.\nSince the capabilities are dependent on the frontend and its UI, it might not be possible to change that at random times (or too late).\nConsequently this event has a hint characteristic: a frontend can only be expected to make a 'best effort' in honouring individual capabilities but there are no guarantees.\nOnly changed capabilities need to be included, all other capabilities keep their values.",
"properties": {
"event": {
"type": "string",
"enum": [ "capabilities" ]
},
"body": {
"type": "object",
"properties": {
"capabilities": {
"$ref": "#/definitions/Capabilities",
"description": "The set of updated capabilities."
}
},
"required": [ "capabilities" ]
}
},
"required": [ "event", "body" ]
}]
},
"RunInTerminalRequest": {
"allOf": [ { "$ref": "#/definitions/Request" }, {
"type": "object",
@ -2104,6 +2128,10 @@
"supportsLoadedSourcesRequest": {
"type": "boolean",
"description": "The debug adapter supports the 'loadedSources' request."
},
"supportsLogPoints": {
"type": "boolean",
"description": "The debug adapter supports logpoints by interpreting the 'logMessage' attribute of the SourceBreakpoint."
}
}
},
@ -2502,11 +2530,11 @@
"SourceBreakpoint": {
"type": "object",
"description": "Properties of a breakpoint passed to the setBreakpoints request.",
"description": "Properties of a breakpoint or logpoint passed to the setBreakpoints request.",
"properties": {
"line": {
"type": "integer",
"description": "The source line of the breakpoint."
"description": "The source line of the breakpoint or logpoint."
},
"column": {
"type": "integer",
@ -2519,6 +2547,10 @@
"hitCondition": {
"type": "string",
"description": "An optional expression that controls how many hits of the breakpoint are ignored. The backend is expected to interpret the expression as needed."
},
"logMessage": {
"type": "string",
"description": "If this attribute exists and is non-empty, the backend must not 'break' (stop) but log the message instead. Expressions within {} are interpolated."
}
},
"required": [ "line" ]