update debugprotocol to 1.2.1

This commit is contained in:
Andre Weinand 2016-01-06 15:54:15 +01:00
parent 6c54090689
commit 7b7840aa1a
3 changed files with 26 additions and 5 deletions

6
npm-shrinkwrap.json generated
View file

@ -416,9 +416,9 @@
"resolved": "https://registry.npmjs.org/semver/-/semver-4.3.6.tgz"
},
"vscode-debugprotocol": {
"version": "1.1.1",
"from": "vscode-debugprotocol@>=1.1.1",
"resolved": "https://registry.npmjs.org/vscode-debugprotocol/-/vscode-debugprotocol-1.1.1.tgz"
"version": "1.2.1",
"from": "vscode-debugprotocol@>=1.2.1",
"resolved": "https://registry.npmjs.org/vscode-debugprotocol/-/vscode-debugprotocol-1.2.1.tgz"
},
"vscode-textmate": {
"version": "1.0.9",

View file

@ -26,7 +26,7 @@
"iconv-lite": "^0.4.13",
"sax": "^1.1.1",
"semver": "^4.2.0",
"vscode-debugprotocol": "^1.1.1",
"vscode-debugprotocol": "^1.2.1",
"vscode-textmate": "^1.0.9",
"native-keymap": "^0.1.2",
"winreg": "0.0.12",

View file

@ -50,7 +50,14 @@ declare module DebugProtocol {
//---- Events
/** Event message for "initialized" event type.
The event indicates that the debugee is ready to accept SetBreakpoint calls.
This event indicates that the debug adapter is ready to accept configuration requests (e.g. SetBreakpointsRequest, SetExceptionBreakpointsRequest).
A debug adapter is expected to send this event when it is ready to accept configuration requests.
The sequence of events/requests is as follows:
- adapters sends InitializedEvent (at any time)
- frontend sends zero or more SetBreakpointsRequest
- frontend sends one SetExceptionBreakpointsRequest (in the future 'zero or one')
- frontend sends other configuration requests that are added in the future
- frontend sends one ConfigurationDoneRequest
*/
export interface InitializedEvent extends Event {
}
@ -141,6 +148,20 @@ declare module DebugProtocol {
export interface InitializeResponse extends Response {
}
/** ConfigurationDone request; value of command field is "configurationDone".
The client of the debug protocol must send this request at the end of the sequence of configuration requests (which was started by the InitializedEvent)
*/
export interface ConfigurationDoneRequest extends Request {
arguments?: ConfigurationDoneArguments;
}
/** Arguments for "configurationDone" request. */
export interface ConfigurationDoneArguments {
/* The configurationDone request has no standardized attributes. */
}
/** Response to "configurationDone" request. This is just an acknowledgement, so no body field is required. */
export interface ConfigurationDoneResponse extends Response {
}
/** Launch request; value of command field is "launch".
*/
export interface LaunchRequest extends Request {