Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
04dbcafd
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,发现更多精彩内容 >>
提交
04dbcafd
编写于
3月 12, 2019
作者:
I
isidor
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
strict null checks: debugConfigurationManager
上级
1973e281
变更
3
展开全部
隐藏空白更改
内联
并排
Showing
3 changed file
with
126 addition
and
118 deletion
+126
-118
src/tsconfig.strictNullChecks.json
src/tsconfig.strictNullChecks.json
+1
-0
src/vs/workbench/contrib/debug/common/debug.ts
src/vs/workbench/contrib/debug/common/debug.ts
+9
-9
src/vs/workbench/contrib/debug/electron-browser/debugConfigurationManager.ts
...ntrib/debug/electron-browser/debugConfigurationManager.ts
+116
-109
未找到文件。
src/tsconfig.strictNullChecks.json
浏览文件 @
04dbcafd
...
...
@@ -166,6 +166,7 @@
"./vs/workbench/contrib/debug/electron-browser/repl.ts"
,
"./vs/workbench/contrib/debug/electron-browser/variablesView.ts"
,
"./vs/workbench/contrib/debug/electron-browser/watchExpressionsView.ts"
,
"./vs/workbench/contrib/debug/electron-browser/debugConfigurationManager.ts"
,
"./vs/workbench/contrib/debug/test/browser/baseDebugView.test.ts"
,
"./vs/workbench/contrib/debug/test/common/debugSource.test.ts"
,
"./vs/workbench/contrib/debug/test/common/debugUtils.test.ts"
,
...
...
src/vs/workbench/contrib/debug/common/debug.ts
浏览文件 @
04dbcafd
...
...
@@ -250,7 +250,7 @@ export interface IThread extends ITreeElement {
/**
* Gets the callstack if it has already been received from the debug
* adapter
, otherwise it returns null
.
* adapter.
*/
getCallStack
():
ReadonlyArray
<
IStackFrame
>
;
...
...
@@ -618,7 +618,7 @@ export interface IConfigurationManager {
getDebugAdapterDescriptor
(
session
:
IDebugSession
):
Promise
<
IAdapterDescriptor
|
undefined
>
;
registerDebugAdapterFactory
(
debugTypes
:
string
[],
debugAdapterFactory
:
IDebugAdapterFactory
):
IDisposable
;
createDebugAdapter
(
session
:
IDebugSession
):
IDebugAdapter
;
createDebugAdapter
(
session
:
IDebugSession
):
IDebugAdapter
|
undefined
;
substituteVariables
(
debugType
:
string
,
folder
:
IWorkspaceFolder
,
config
:
IConfig
):
Promise
<
IConfig
>
;
runInTerminal
(
debugType
:
string
,
args
:
DebugProtocol
.
RunInTerminalRequestArguments
,
config
:
ITerminalSettings
):
Promise
<
number
|
undefined
>
;
...
...
@@ -637,9 +637,9 @@ export interface ILaunch {
readonly
name
:
string
;
/**
* Workspace of the launch. Can be
null
.
* Workspace of the launch. Can be
undefined
.
*/
readonly
workspace
:
IWorkspaceFolder
;
readonly
workspace
:
IWorkspaceFolder
|
undefined
;
/**
* Should this launch be shown in the debug dropdown.
...
...
@@ -648,15 +648,15 @@ export interface ILaunch {
/**
* Returns a configuration with the specified name.
* Returns
null
if there is no configuration with the specified name.
* Returns
undefined
if there is no configuration with the specified name.
*/
getConfiguration
(
name
:
string
):
IConfig
;
getConfiguration
(
name
:
string
):
IConfig
|
undefined
;
/**
* Returns a compound with the specified name.
* Returns
null
if there is no compound with the specified name.
* Returns
undefined
if there is no compound with the specified name.
*/
getCompound
(
name
:
string
):
ICompound
;
getCompound
(
name
:
string
):
ICompound
|
undefined
;
/**
* Returns the names of all configurations and compounds.
...
...
@@ -667,7 +667,7 @@ export interface ILaunch {
/**
* Opens the launch.json file. Creates if it does not exist.
*/
openConfigFile
(
sideBySide
:
boolean
,
preserveFocus
:
boolean
,
type
?:
string
):
Promise
<
{
editor
:
IEditor
,
created
:
boolean
}
>
;
openConfigFile
(
sideBySide
:
boolean
,
preserveFocus
:
boolean
,
type
?:
string
):
Promise
<
{
editor
:
IEditor
|
null
,
created
:
boolean
}
>
;
}
// Debug service interfaces
...
...
src/vs/workbench/contrib/debug/electron-browser/debugConfigurationManager.ts
浏览文件 @
04dbcafd
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录