Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
fce3d86e
V
vscode
项目概览
xxadev
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
fce3d86e
编写于
2月 15, 2017
作者:
A
Andre Weinand
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update debug protocol
上级
9c49b851
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
56 addition
and
3 deletion
+56
-3
src/vs/workbench/parts/debug/common/debugProtocol.d.ts
src/vs/workbench/parts/debug/common/debugProtocol.d.ts
+56
-3
未找到文件。
src/vs/workbench/parts/debug/common/debugProtocol.d.ts
浏览文件 @
fce3d86e
...
...
@@ -224,7 +224,9 @@ declare module DebugProtocol {
/** Arguments for 'initialize' request. */
export
interface
InitializeRequestArguments
{
/** The ID of the debugger adapter. Used to select or verify debugger adapter. */
/** The ID of the (frontend) client using this adapter. */
clientID
?:
string
;
/** The ID of the debug adapter. */
adapterID
:
string
;
/** If true all line numbers are 1-based (default). */
linesStartAt1
?:
boolean
;
...
...
@@ -696,6 +698,8 @@ declare module DebugProtocol {
name
:
string
;
/** The value of the variable. */
value
:
string
;
/** Specifies details on how to format the response value. */
format
?:
ValueFormat
;
}
/** Response to 'setVariable' request. */
...
...
@@ -903,6 +907,34 @@ declare module DebugProtocol {
};
}
/** ExceptionInfoRequest request; value of command field is 'exceptionInfo'.
Retrieves the details of the exception that caused the StoppedEvent to be raised.
*/
export
interface
ExceptionInfoRequest
extends
Request
{
// command: 'exceptionInfo';
arguments
:
ExceptionInfoArguments
;
}
/** Arguments for 'exceptionInfo' request. */
export
interface
ExceptionInfoArguments
{
/** Thread for which exception information should be retrieved. */
threadId
:
number
;
}
/** Response to 'exceptionInfo' request. */
export
interface
ExceptionInfoResponse
extends
Response
{
body
:
{
/** ID of the exception that was thrown. */
exceptionId
:
string
;
/** Descriptive text for the exception provided by the debug adapter. */
description
?:
string
;
/** Mode that caused the exception notification to be raised. */
breakMode
:
ExceptionBreakMode
;
/** Detailed information about the exception. */
details
?:
ExceptionDetails
;
};
}
/** Information about the capabilities of a debug adapter. */
export
interface
Capabilities
{
/** The debug adapter supports the configurationDoneRequest. */
...
...
@@ -941,6 +973,8 @@ declare module DebugProtocol {
supportsExceptionOptions
?:
boolean
;
/** The debug adapter supports a 'format' attribute on the stackTraceRequest, variablesRequest, and evaluateRequest. */
supportsValueFormattingOptions
?:
boolean
;
/** The debug adapter supports the exceptionInfo request. */
supportsExceptionInfoRequest
?:
boolean
;
}
/** An ExceptionBreakpointsFilter is shown in the UI as an option for configuring how exceptions are dealt with. */
...
...
@@ -1212,10 +1246,13 @@ declare module DebugProtocol {
text
?:
string
;
/** The item's type. Typically the client uses this information to render the item in the UI with an icon. */
type
?:
CompletionItemType
;
/**
When a completion is selected it replaces 'length' characters starting at 'start' in the text passed to the CompletionsRequest
.
If missing the
frontend will try to determine these values heuristically
.
/**
This value determines the location (in the CompletionsRequest's 'text' attribute) where the completion text is added
.
If missing the
text is added at the location specified by the CompletionsRequest's 'column' attribute
.
*/
start
?:
number
;
/** This value determines how many characters are overwritten by the completion text.
If missing the value 0 is assumed which results in the completion text being inserted.
*/
length
?:
number
;
}
...
...
@@ -1278,5 +1315,21 @@ declare module DebugProtocol {
/** Depending on the value of 'negate' the names that should match or not match. */
names
:
string
[];
}
/** Detailed information about an exception that has occurred. */
export
interface
ExceptionDetails
{
/** Message contained in the exception. */
message
?:
string
;
/** Short type name of the exception object. */
typeName
?:
string
;
/** Fully-qualified type name of the exception object. */
fullTypeName
?:
string
;
/** Optional expression that can be evaluated in the current scope to obtain the exception object. */
evaluateName
?:
string
;
/** Stack trace at the time the exception was thrown. */
stackTrace
?:
string
;
/** Details of the exception contained by this exception, if any. */
innerException
?:
ExceptionDetails
[];
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录