upgrade to DAP 1.23.0-pre.0

This commit is contained in:
Andre Weinand 2017-08-28 15:50:34 +02:00
parent 4f32007a5e
commit 96c545001a
3 changed files with 37 additions and 14 deletions

6
npm-shrinkwrap.json generated
View file

@ -547,9 +547,9 @@
"resolved": "git://github.com/jrieken/v8-profiler.git#5e4a336693e1d5b079c7aecd286a1abcfbc10421"
},
"vscode-debugprotocol": {
"version": "1.22.0",
"from": "vscode-debugprotocol@1.22.0",
"resolved": "https://registry.npmjs.org/vscode-debugprotocol/-/vscode-debugprotocol-1.22.0.tgz"
"version": "1.23.0-pre.0",
"from": "vscode-debugprotocol@1.23.0-pre.0",
"resolved": "https://registry.npmjs.org/vscode-debugprotocol/-/vscode-debugprotocol-1.23.0-pre.0.tgz"
},
"vscode-ripgrep": {
"version": "0.0.25",

View file

@ -40,7 +40,7 @@
"nsfw": "1.0.16",
"semver": "4.3.6",
"v8-profiler": "jrieken/v8-profiler#vscode",
"vscode-debugprotocol": "1.22.0",
"vscode-debugprotocol": "1.23.0-pre.0",
"vscode-ripgrep": "0.0.25",
"vscode-textmate": "^3.1.5",
"winreg": "1.2.0",

View file

@ -12,7 +12,9 @@ declare module DebugProtocol {
export interface ProtocolMessage {
/** Sequence number. */
seq: number;
/** One of 'request', 'response', or 'event'. */
/** Message type.
Values: 'request', 'response', 'event', etc.
*/
type: string;
}
@ -71,8 +73,9 @@ declare module DebugProtocol {
export interface StoppedEvent extends Event {
// event: 'stopped';
body: {
/** The reason for the event (such as: 'step', 'breakpoint', 'exception', 'pause', 'entry').
/** The reason for the event.
For backward compatibility this string is shown in the UI if the 'description' attribute is missing (but it must not be translated).
Values: 'step', 'breakpoint', 'exception', 'pause', 'entry', etc.
*/
reason: string;
/** The full reason for the event, e.g. 'Paused on exception'. This string is shown in the UI as is. */
@ -134,7 +137,9 @@ declare module DebugProtocol {
export interface ThreadEvent extends Event {
// event: 'thread';
body: {
/** The reason for the event (such as: 'started', 'exited'). */
/** The reason for the event.
Values: 'started', 'exited', etc.
*/
reason: string;
/** The identifier of the thread. */
threadId: number;
@ -147,12 +152,20 @@ declare module DebugProtocol {
export interface OutputEvent extends Event {
// event: 'output';
body: {
/** The category of output (such as: 'console', 'stdout', 'stderr', 'telemetry'). If not specified, 'console' is assumed. */
/** The output category. If not specified, 'console' is assumed.
Values: 'console', 'stdout', 'stderr', 'telemetry', etc.
*/
category?: string;
/** The output to report. */
output: string;
/** If an attribute 'variablesReference' exists and its value is > 0, the output contains objects which can be retrieved by passing variablesReference to the VariablesRequest. */
variablesReference?: number;
/** An optional source location where the output was produced. */
source?: Source;
/** An optional source location line where the output was produced. */
line?: number;
/** An optional source location column where the output was produced. */
column?: number;
/** Optional data to report. For the 'telemetry' category the data will be sent to telemetry, for the other categories the data is shown in JSON format. */
data?: any;
};
@ -164,7 +177,9 @@ declare module DebugProtocol {
export interface BreakpointEvent extends Event {
// event: 'breakpoint';
body: {
/** The reason for the event (such as: 'changed', 'new'). */
/** The reason for the event.
Values: 'changed', 'new', etc.
*/
reason: string;
/** The breakpoint. */
breakpoint: Breakpoint;
@ -197,9 +212,9 @@ declare module DebugProtocol {
/** If true, the process is running on the same computer as the debug adapter. */
isLocalProcess?: boolean;
/** Describes how the debug engine started debugging this process.
launch: Process was launched under the debugger.
attach: Debugger attached to an existing process.
attachForSuspendedLaunch: A project launcher component has launched a new process in a suspended state and then asked the debugger to attach.
'launch': Process was launched under the debugger.
'attach': Debugger attached to an existing process.
'attachForSuspendedLaunch': A project launcher component has launched a new process in a suspended state and then asked the debugger to attach.
*/
startMethod?: 'launch' | 'attach' | 'attachForSuspendedLaunch';
};
@ -259,7 +274,9 @@ declare module DebugProtocol {
linesStartAt1?: boolean;
/** If true all column numbers are 1-based (default). */
columnsStartAt1?: boolean;
/** Determines in what format paths are specified. Possible values are 'path' or 'uri'. The default is 'path', which is the native format. */
/** Determines in what format paths are specified. The default is 'path', which is the native format.
Values: 'path', 'uri', etc.
*/
pathFormat?: string;
/** Client supports the optional type attribute for variables. */
supportsVariableType?: boolean;
@ -832,7 +849,13 @@ declare module DebugProtocol {
expression: string;
/** Evaluate the expression in the scope of this stack frame. If not specified, the expression is evaluated in the global scope. */
frameId?: number;
/** The context in which the evaluate request is run. Possible values are 'watch' if evaluate is run in a watch, 'repl' if run from the REPL console, or 'hover' if run from a data hover. */
/** The context in which the evaluate request is run.
Values:
'watch': evaluate is run in a watch.
'repl': evaluate is run from REPL console.
'hover': evaluate is run from a data hover.
etc.
*/
context?: string;
/** Specifies details on how to format the Evaluate result. */
format?: ValueFormat;