提交 16900e56 编写于 作者: A Andre Weinand

update DAP to 1.27.0-pre.0

上级 474c5c4b
......@@ -233,6 +233,19 @@ declare module DebugProtocol {
};
}
/** Event message for 'capabilities' event type.
The event indicates that one or more capabilities have changed.
Since the capabilities are dependent on the frontend and its UI, it might not be possible to change that at random times (or too late).
Consequently 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.
*/
export interface CapabilitiesEvent extends Event {
// event: 'capabilities';
body: {
/** The set of updated capabilities. */
capabilities: Capabilities;
};
}
/** runInTerminal request; value of command field is 'runInTerminal'.
With this request a debug adapter can run a command in a terminal.
*/
......@@ -1073,6 +1086,8 @@ declare module DebugProtocol {
supportsDelayedStackTraceLoading?: boolean;
/** The debug adapter supports the 'loadedSources' request. */
supportsLoadedSourcesRequest?: boolean;
/** The debug adapter supports logpoints by interpreting the 'logMessage' attribute of the SourceBreakpoint. */
supportsLogPoints?: boolean;
}
/** An ExceptionBreakpointsFilter is shown in the UI as an option for configuring how exceptions are dealt with. */
......@@ -1307,9 +1322,9 @@ declare module DebugProtocol {
visibility?: string;
}
/** Properties of a breakpoint passed to the setBreakpoints request. */
/** Properties of a breakpoint or logpoint passed to the setBreakpoints request. */
export interface SourceBreakpoint {
/** The source line of the breakpoint. */
/** The source line of the breakpoint or logpoint. */
line: number;
/** An optional source column of the breakpoint. */
column?: number;
......@@ -1317,6 +1332,8 @@ declare module DebugProtocol {
condition?: string;
/** An optional expression that controls how many hits of the breakpoint are ignored. The backend is expected to interpret the expression as needed. */
hitCondition?: string;
/** If this attribute exists and is non-empty, the backend must not 'break' (stop) but log the message instead. Expressions within {} are interpolated. */
logMessage?: string;
}
/** Properties of a breakpoint passed to the setFunctionBreakpoints request. */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册