@codingame/monaco-vscode-debug-service-override 1.83.5 → 1.83.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +5 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +193 -86
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +44 -10
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +254 -60
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +10 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +98 -28
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +429 -185
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +25 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +62 -11
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +130 -32
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +20 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +5 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +105 -21
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +10 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +18 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +39 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +100 -24
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +58 -26
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +17 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +12 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +80 -17
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +15 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +8 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +36 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +24 -13
- package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +33 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +34 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +26 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +48 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +31 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +20 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +40 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +49 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +5 -60
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +18 -5
- package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +15 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +32 -22
- package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +205 -41
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +5 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +51 -10
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +5 -1
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +5 -1
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +5 -1
- package/vscode/src/vs/workbench/services/configurationResolver/browser/baseConfigurationResolverService.js +18 -7
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +80 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +5 -1
|
@@ -7,7 +7,11 @@ const debuggersExtPoint = ( ExtensionsRegistry.registerExtensionPoint({
|
|
|
7
7
|
extensionPoint: 'debuggers',
|
|
8
8
|
defaultExtensionKind: ['workspace'],
|
|
9
9
|
jsonSchema: {
|
|
10
|
-
description: nls.localizeWithPath(
|
|
10
|
+
description: ( nls.localizeWithPath(
|
|
11
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
12
|
+
'vscode.extension.contributes.debuggers',
|
|
13
|
+
'Contributes debug adapters.'
|
|
14
|
+
)),
|
|
11
15
|
type: 'array',
|
|
12
16
|
defaultSnippets: [{ body: [{ type: '' }] }],
|
|
13
17
|
items: {
|
|
@@ -16,100 +20,188 @@ const debuggersExtPoint = ( ExtensionsRegistry.registerExtensionPoint({
|
|
|
16
20
|
defaultSnippets: [{ body: { type: '', program: '', runtime: '' } }],
|
|
17
21
|
properties: {
|
|
18
22
|
type: {
|
|
19
|
-
description: nls.localizeWithPath(
|
|
23
|
+
description: ( nls.localizeWithPath(
|
|
24
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
25
|
+
'vscode.extension.contributes.debuggers.type',
|
|
26
|
+
"Unique identifier for this debug adapter."
|
|
27
|
+
)),
|
|
20
28
|
type: 'string'
|
|
21
29
|
},
|
|
22
30
|
label: {
|
|
23
|
-
description: nls.localizeWithPath(
|
|
31
|
+
description: ( nls.localizeWithPath(
|
|
32
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
33
|
+
'vscode.extension.contributes.debuggers.label',
|
|
34
|
+
"Display name for this debug adapter."
|
|
35
|
+
)),
|
|
24
36
|
type: 'string'
|
|
25
37
|
},
|
|
26
38
|
program: {
|
|
27
|
-
description: nls.localizeWithPath(
|
|
39
|
+
description: ( nls.localizeWithPath(
|
|
40
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
41
|
+
'vscode.extension.contributes.debuggers.program',
|
|
42
|
+
"Path to the debug adapter program. Path is either absolute or relative to the extension folder."
|
|
43
|
+
)),
|
|
28
44
|
type: 'string'
|
|
29
45
|
},
|
|
30
46
|
args: {
|
|
31
|
-
description: nls.localizeWithPath(
|
|
47
|
+
description: ( nls.localizeWithPath(
|
|
48
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
49
|
+
'vscode.extension.contributes.debuggers.args',
|
|
50
|
+
"Optional arguments to pass to the adapter."
|
|
51
|
+
)),
|
|
32
52
|
type: 'array'
|
|
33
53
|
},
|
|
34
54
|
runtime: {
|
|
35
|
-
description: nls.localizeWithPath(
|
|
55
|
+
description: ( nls.localizeWithPath(
|
|
56
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
57
|
+
'vscode.extension.contributes.debuggers.runtime',
|
|
58
|
+
"Optional runtime in case the program attribute is not an executable but requires a runtime."
|
|
59
|
+
)),
|
|
36
60
|
type: 'string'
|
|
37
61
|
},
|
|
38
62
|
runtimeArgs: {
|
|
39
|
-
description: nls.localizeWithPath(
|
|
63
|
+
description: ( nls.localizeWithPath(
|
|
64
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
65
|
+
'vscode.extension.contributes.debuggers.runtimeArgs',
|
|
66
|
+
"Optional runtime arguments."
|
|
67
|
+
)),
|
|
40
68
|
type: 'array'
|
|
41
69
|
},
|
|
42
70
|
variables: {
|
|
43
|
-
description: nls.localizeWithPath(
|
|
71
|
+
description: ( nls.localizeWithPath(
|
|
72
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
73
|
+
'vscode.extension.contributes.debuggers.variables',
|
|
74
|
+
"Mapping from interactive variables (e.g. ${action.pickProcess}) in `launch.json` to a command."
|
|
75
|
+
)),
|
|
44
76
|
type: 'object'
|
|
45
77
|
},
|
|
46
78
|
initialConfigurations: {
|
|
47
|
-
description: nls.localizeWithPath(
|
|
79
|
+
description: ( nls.localizeWithPath(
|
|
80
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
81
|
+
'vscode.extension.contributes.debuggers.initialConfigurations',
|
|
82
|
+
"Configurations for generating the initial \'launch.json\'."
|
|
83
|
+
)),
|
|
48
84
|
type: ['array', 'string'],
|
|
49
85
|
},
|
|
50
86
|
languages: {
|
|
51
|
-
description: nls.localizeWithPath(
|
|
87
|
+
description: ( nls.localizeWithPath(
|
|
88
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
89
|
+
'vscode.extension.contributes.debuggers.languages',
|
|
90
|
+
"List of languages for which the debug extension could be considered the \"default debugger\"."
|
|
91
|
+
)),
|
|
52
92
|
type: 'array'
|
|
53
93
|
},
|
|
54
94
|
configurationSnippets: {
|
|
55
|
-
description: nls.localizeWithPath(
|
|
95
|
+
description: ( nls.localizeWithPath(
|
|
96
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
97
|
+
'vscode.extension.contributes.debuggers.configurationSnippets',
|
|
98
|
+
"Snippets for adding new configurations in \'launch.json\'."
|
|
99
|
+
)),
|
|
56
100
|
type: 'array'
|
|
57
101
|
},
|
|
58
102
|
configurationAttributes: {
|
|
59
|
-
description: nls.localizeWithPath(
|
|
103
|
+
description: ( nls.localizeWithPath(
|
|
104
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
105
|
+
'vscode.extension.contributes.debuggers.configurationAttributes',
|
|
106
|
+
"JSON schema configurations for validating \'launch.json\'."
|
|
107
|
+
)),
|
|
60
108
|
type: 'object'
|
|
61
109
|
},
|
|
62
110
|
when: {
|
|
63
|
-
description: nls.localizeWithPath(
|
|
111
|
+
description: ( nls.localizeWithPath(
|
|
112
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
113
|
+
'vscode.extension.contributes.debuggers.when',
|
|
114
|
+
"Condition which must be true to enable this type of debugger. Consider using 'shellExecutionSupported', 'virtualWorkspace', 'resourceScheme' or an extension-defined context key as appropriate for this."
|
|
115
|
+
)),
|
|
64
116
|
type: 'string',
|
|
65
117
|
default: ''
|
|
66
118
|
},
|
|
67
119
|
hiddenWhen: {
|
|
68
|
-
description: nls.localizeWithPath(
|
|
120
|
+
description: ( nls.localizeWithPath(
|
|
121
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
122
|
+
'vscode.extension.contributes.debuggers.hiddenWhen',
|
|
123
|
+
"When this condition is true, this debugger type is hidden from the debugger list, but is still enabled."
|
|
124
|
+
)),
|
|
69
125
|
type: 'string',
|
|
70
126
|
default: ''
|
|
71
127
|
},
|
|
72
128
|
deprecated: {
|
|
73
|
-
description: nls.localizeWithPath(
|
|
129
|
+
description: ( nls.localizeWithPath(
|
|
130
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
131
|
+
'vscode.extension.contributes.debuggers.deprecated',
|
|
132
|
+
"Optional message to mark this debug type as being deprecated."
|
|
133
|
+
)),
|
|
74
134
|
type: 'string',
|
|
75
135
|
default: ''
|
|
76
136
|
},
|
|
77
137
|
windows: {
|
|
78
|
-
description: nls.localizeWithPath(
|
|
138
|
+
description: ( nls.localizeWithPath(
|
|
139
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
140
|
+
'vscode.extension.contributes.debuggers.windows',
|
|
141
|
+
"Windows specific settings."
|
|
142
|
+
)),
|
|
79
143
|
type: 'object',
|
|
80
144
|
properties: {
|
|
81
145
|
runtime: {
|
|
82
|
-
description: nls.localizeWithPath(
|
|
146
|
+
description: ( nls.localizeWithPath(
|
|
147
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
148
|
+
'vscode.extension.contributes.debuggers.windows.runtime',
|
|
149
|
+
"Runtime used for Windows."
|
|
150
|
+
)),
|
|
83
151
|
type: 'string'
|
|
84
152
|
}
|
|
85
153
|
}
|
|
86
154
|
},
|
|
87
155
|
osx: {
|
|
88
|
-
description: nls.localizeWithPath(
|
|
156
|
+
description: ( nls.localizeWithPath(
|
|
157
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
158
|
+
'vscode.extension.contributes.debuggers.osx',
|
|
159
|
+
"macOS specific settings."
|
|
160
|
+
)),
|
|
89
161
|
type: 'object',
|
|
90
162
|
properties: {
|
|
91
163
|
runtime: {
|
|
92
|
-
description: nls.localizeWithPath(
|
|
164
|
+
description: ( nls.localizeWithPath(
|
|
165
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
166
|
+
'vscode.extension.contributes.debuggers.osx.runtime',
|
|
167
|
+
"Runtime used for macOS."
|
|
168
|
+
)),
|
|
93
169
|
type: 'string'
|
|
94
170
|
}
|
|
95
171
|
}
|
|
96
172
|
},
|
|
97
173
|
linux: {
|
|
98
|
-
description: nls.localizeWithPath(
|
|
174
|
+
description: ( nls.localizeWithPath(
|
|
175
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
176
|
+
'vscode.extension.contributes.debuggers.linux',
|
|
177
|
+
"Linux specific settings."
|
|
178
|
+
)),
|
|
99
179
|
type: 'object',
|
|
100
180
|
properties: {
|
|
101
181
|
runtime: {
|
|
102
|
-
description: nls.localizeWithPath(
|
|
182
|
+
description: ( nls.localizeWithPath(
|
|
183
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
184
|
+
'vscode.extension.contributes.debuggers.linux.runtime',
|
|
185
|
+
"Runtime used for Linux."
|
|
186
|
+
)),
|
|
103
187
|
type: 'string'
|
|
104
188
|
}
|
|
105
189
|
}
|
|
106
190
|
},
|
|
107
191
|
strings: {
|
|
108
|
-
description: nls.localizeWithPath(
|
|
192
|
+
description: ( nls.localizeWithPath(
|
|
193
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
194
|
+
'vscode.extension.contributes.debuggers.strings',
|
|
195
|
+
"UI strings contributed by this debug adapter."
|
|
196
|
+
)),
|
|
109
197
|
type: 'object',
|
|
110
198
|
properties: {
|
|
111
199
|
unverifiedBreakpoints: {
|
|
112
|
-
description: nls.localizeWithPath(
|
|
200
|
+
description: ( nls.localizeWithPath(
|
|
201
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
202
|
+
'vscode.extension.contributes.debuggers.strings.unverifiedBreakpoints',
|
|
203
|
+
"When there are unverified breakpoints in a language supported by this debug adapter, this message will appear on the breakpoint hover and in the breakpoints view. Markdown and command links are supported."
|
|
204
|
+
)),
|
|
113
205
|
type: 'string'
|
|
114
206
|
}
|
|
115
207
|
}
|
|
@@ -121,7 +213,11 @@ const debuggersExtPoint = ( ExtensionsRegistry.registerExtensionPoint({
|
|
|
121
213
|
const breakpointsExtPoint = ( ExtensionsRegistry.registerExtensionPoint({
|
|
122
214
|
extensionPoint: 'breakpoints',
|
|
123
215
|
jsonSchema: {
|
|
124
|
-
description: nls.localizeWithPath(
|
|
216
|
+
description: ( nls.localizeWithPath(
|
|
217
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
218
|
+
'vscode.extension.contributes.breakpoints',
|
|
219
|
+
'Contributes breakpoints.'
|
|
220
|
+
)),
|
|
125
221
|
type: 'array',
|
|
126
222
|
defaultSnippets: [{ body: [{ language: '' }] }],
|
|
127
223
|
items: {
|
|
@@ -130,11 +226,19 @@ const breakpointsExtPoint = ( ExtensionsRegistry.registerExtensionPoint({
|
|
|
130
226
|
defaultSnippets: [{ body: { language: '' } }],
|
|
131
227
|
properties: {
|
|
132
228
|
language: {
|
|
133
|
-
description: nls.localizeWithPath(
|
|
229
|
+
description: ( nls.localizeWithPath(
|
|
230
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
231
|
+
'vscode.extension.contributes.breakpoints.language',
|
|
232
|
+
"Allow breakpoints for this language."
|
|
233
|
+
)),
|
|
134
234
|
type: 'string'
|
|
135
235
|
},
|
|
136
236
|
when: {
|
|
137
|
-
description: nls.localizeWithPath(
|
|
237
|
+
description: ( nls.localizeWithPath(
|
|
238
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
239
|
+
'vscode.extension.contributes.breakpoints.when',
|
|
240
|
+
"Condition which must be true to enable breakpoints in this language. Consider matching this to the debugger when clause as appropriate."
|
|
241
|
+
)),
|
|
138
242
|
type: 'string',
|
|
139
243
|
default: ''
|
|
140
244
|
}
|
|
@@ -144,22 +248,38 @@ const breakpointsExtPoint = ( ExtensionsRegistry.registerExtensionPoint({
|
|
|
144
248
|
}));
|
|
145
249
|
const presentationSchema = {
|
|
146
250
|
type: 'object',
|
|
147
|
-
description: nls.localizeWithPath(
|
|
251
|
+
description: ( nls.localizeWithPath(
|
|
252
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
253
|
+
'presentation',
|
|
254
|
+
"Presentation options on how to show this configuration in the debug configuration dropdown and the command palette."
|
|
255
|
+
)),
|
|
148
256
|
properties: {
|
|
149
257
|
hidden: {
|
|
150
258
|
type: 'boolean',
|
|
151
259
|
default: false,
|
|
152
|
-
description: nls.localizeWithPath(
|
|
260
|
+
description: ( nls.localizeWithPath(
|
|
261
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
262
|
+
'presentation.hidden',
|
|
263
|
+
"Controls if this configuration should be shown in the configuration dropdown and the command palette."
|
|
264
|
+
))
|
|
153
265
|
},
|
|
154
266
|
group: {
|
|
155
267
|
type: 'string',
|
|
156
268
|
default: '',
|
|
157
|
-
description: nls.localizeWithPath(
|
|
269
|
+
description: ( nls.localizeWithPath(
|
|
270
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
271
|
+
'presentation.group',
|
|
272
|
+
"Group that this configuration belongs to. Used for grouping and sorting in the configuration dropdown and the command palette."
|
|
273
|
+
))
|
|
158
274
|
},
|
|
159
275
|
order: {
|
|
160
276
|
type: 'number',
|
|
161
277
|
default: 1,
|
|
162
|
-
description: nls.localizeWithPath(
|
|
278
|
+
description: ( nls.localizeWithPath(
|
|
279
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
280
|
+
'presentation.order',
|
|
281
|
+
"Order of this configuration within a group. Used for grouping and sorting in the configuration dropdown and the command palette."
|
|
282
|
+
))
|
|
163
283
|
}
|
|
164
284
|
},
|
|
165
285
|
default: {
|
|
@@ -172,7 +292,11 @@ const defaultCompound = { name: 'Compound', configurations: [] };
|
|
|
172
292
|
const launchSchema = {
|
|
173
293
|
id: launchSchemaId,
|
|
174
294
|
type: 'object',
|
|
175
|
-
title: nls.localizeWithPath(
|
|
295
|
+
title: ( nls.localizeWithPath(
|
|
296
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
297
|
+
'app.launch.json.title',
|
|
298
|
+
"Launch"
|
|
299
|
+
)),
|
|
176
300
|
allowTrailingCommas: true,
|
|
177
301
|
allowComments: true,
|
|
178
302
|
required: [],
|
|
@@ -180,12 +304,20 @@ const launchSchema = {
|
|
|
180
304
|
properties: {
|
|
181
305
|
version: {
|
|
182
306
|
type: 'string',
|
|
183
|
-
description: nls.localizeWithPath(
|
|
307
|
+
description: ( nls.localizeWithPath(
|
|
308
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
309
|
+
'app.launch.json.version',
|
|
310
|
+
"Version of this file format."
|
|
311
|
+
)),
|
|
184
312
|
default: '0.2.0'
|
|
185
313
|
},
|
|
186
314
|
configurations: {
|
|
187
315
|
type: 'array',
|
|
188
|
-
description: nls.localizeWithPath(
|
|
316
|
+
description: ( nls.localizeWithPath(
|
|
317
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
318
|
+
'app.launch.json.configurations',
|
|
319
|
+
"List of configurations. Add new configurations or edit existing ones by using IntelliSense."
|
|
320
|
+
)),
|
|
189
321
|
items: {
|
|
190
322
|
defaultSnippets: [],
|
|
191
323
|
'type': 'object',
|
|
@@ -194,14 +326,22 @@ const launchSchema = {
|
|
|
194
326
|
},
|
|
195
327
|
compounds: {
|
|
196
328
|
type: 'array',
|
|
197
|
-
description: nls.localizeWithPath(
|
|
329
|
+
description: ( nls.localizeWithPath(
|
|
330
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
331
|
+
'app.launch.json.compounds',
|
|
332
|
+
"List of compounds. Each compound references multiple configurations which will get launched together."
|
|
333
|
+
)),
|
|
198
334
|
items: {
|
|
199
335
|
type: 'object',
|
|
200
336
|
required: ['name', 'configurations'],
|
|
201
337
|
properties: {
|
|
202
338
|
name: {
|
|
203
339
|
type: 'string',
|
|
204
|
-
description: nls.localizeWithPath(
|
|
340
|
+
description: ( nls.localizeWithPath(
|
|
341
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
342
|
+
'app.launch.json.compound.name',
|
|
343
|
+
"Name of compound. Appears in the launch configuration drop down menu."
|
|
344
|
+
))
|
|
205
345
|
},
|
|
206
346
|
presentation: presentationSchema,
|
|
207
347
|
configurations: {
|
|
@@ -210,33 +350,57 @@ const launchSchema = {
|
|
|
210
350
|
items: {
|
|
211
351
|
oneOf: [{
|
|
212
352
|
enum: [],
|
|
213
|
-
description: nls.localizeWithPath(
|
|
353
|
+
description: ( nls.localizeWithPath(
|
|
354
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
355
|
+
'useUniqueNames',
|
|
356
|
+
"Please use unique configuration names."
|
|
357
|
+
))
|
|
214
358
|
}, {
|
|
215
359
|
type: 'object',
|
|
216
360
|
required: ['name'],
|
|
217
361
|
properties: {
|
|
218
362
|
name: {
|
|
219
363
|
enum: [],
|
|
220
|
-
description: nls.localizeWithPath(
|
|
364
|
+
description: ( nls.localizeWithPath(
|
|
365
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
366
|
+
'app.launch.json.compound.name',
|
|
367
|
+
"Name of compound. Appears in the launch configuration drop down menu."
|
|
368
|
+
))
|
|
221
369
|
},
|
|
222
370
|
folder: {
|
|
223
371
|
enum: [],
|
|
224
|
-
description: nls.localizeWithPath(
|
|
372
|
+
description: ( nls.localizeWithPath(
|
|
373
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
374
|
+
'app.launch.json.compound.folder',
|
|
375
|
+
"Name of folder in which the compound is located."
|
|
376
|
+
))
|
|
225
377
|
}
|
|
226
378
|
}
|
|
227
379
|
}]
|
|
228
380
|
},
|
|
229
|
-
description: nls.localizeWithPath(
|
|
381
|
+
description: ( nls.localizeWithPath(
|
|
382
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
383
|
+
'app.launch.json.compounds.configurations',
|
|
384
|
+
"Names of configurations that will be started as part of this compound."
|
|
385
|
+
))
|
|
230
386
|
},
|
|
231
387
|
stopAll: {
|
|
232
388
|
type: 'boolean',
|
|
233
389
|
default: false,
|
|
234
|
-
description: nls.localizeWithPath(
|
|
390
|
+
description: ( nls.localizeWithPath(
|
|
391
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
392
|
+
'app.launch.json.compound.stopAll',
|
|
393
|
+
"Controls whether manually terminating one session will stop all of the compound sessions."
|
|
394
|
+
))
|
|
235
395
|
},
|
|
236
396
|
preLaunchTask: {
|
|
237
397
|
type: 'string',
|
|
238
398
|
default: '',
|
|
239
|
-
description: nls.localizeWithPath(
|
|
399
|
+
description: ( nls.localizeWithPath(
|
|
400
|
+
'vs/workbench/contrib/debug/common/debugSchemas',
|
|
401
|
+
'compoundPrelaunchTask',
|
|
402
|
+
"Task to run before any of the compound configurations start."
|
|
403
|
+
))
|
|
240
404
|
}
|
|
241
405
|
},
|
|
242
406
|
default: defaultCompound
|
|
@@ -7,7 +7,11 @@ import { SIDE_GROUP, ACTIVE_GROUP } from 'vscode/vscode/vs/workbench/services/ed
|
|
|
7
7
|
import { Schemas } from 'monaco-editor/esm/vs/base/common/network.js';
|
|
8
8
|
import { isUri } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugUtils';
|
|
9
9
|
|
|
10
|
-
const UNKNOWN_SOURCE_LABEL = nls.localizeWithPath(
|
|
10
|
+
const UNKNOWN_SOURCE_LABEL = ( nls.localizeWithPath(
|
|
11
|
+
'vs/workbench/contrib/debug/common/debugSource',
|
|
12
|
+
'unknownSource',
|
|
13
|
+
"Unknown Source"
|
|
14
|
+
));
|
|
11
15
|
class Source {
|
|
12
16
|
constructor(raw_, sessionId, uriIdentityService, logService) {
|
|
13
17
|
let path;
|
|
@@ -134,9 +134,22 @@ let Debugger = class Debugger {
|
|
|
134
134
|
}
|
|
135
135
|
const eol = this.resourcePropertiesService.getEOL(( URI.from({ scheme: Schemas.untitled, path: '1' }))) === '\r\n' ? '\r\n' : '\n';
|
|
136
136
|
const configs = ( JSON.stringify(initialConfigurations, null, '\t').split('\n').map(line => '\t' + line)).join(eol).trim();
|
|
137
|
-
const comment1 = nls.localizeWithPath(
|
|
138
|
-
|
|
139
|
-
|
|
137
|
+
const comment1 = ( nls.localizeWithPath(
|
|
138
|
+
'vs/workbench/contrib/debug/common/debugger',
|
|
139
|
+
'launch.config.comment1',
|
|
140
|
+
"Use IntelliSense to learn about possible attributes."
|
|
141
|
+
));
|
|
142
|
+
const comment2 = ( nls.localizeWithPath(
|
|
143
|
+
'vs/workbench/contrib/debug/common/debugger',
|
|
144
|
+
'launch.config.comment2',
|
|
145
|
+
"Hover to view descriptions of existing attributes."
|
|
146
|
+
));
|
|
147
|
+
const comment3 = ( nls.localizeWithPath(
|
|
148
|
+
'vs/workbench/contrib/debug/common/debugger',
|
|
149
|
+
'launch.config.comment3',
|
|
150
|
+
"For more information, visit: {0}",
|
|
151
|
+
'https://go.microsoft.com/fwlink/?linkid=830387'
|
|
152
|
+
));
|
|
140
153
|
let content = [
|
|
141
154
|
'{',
|
|
142
155
|
`\t// ${comment1}`,
|
|
@@ -186,16 +199,32 @@ let Debugger = class Debugger {
|
|
|
186
199
|
properties['type'] = {
|
|
187
200
|
enum: [this.type],
|
|
188
201
|
enumDescriptions: [this.label],
|
|
189
|
-
description: nls.localizeWithPath(
|
|
202
|
+
description: ( nls.localizeWithPath(
|
|
203
|
+
'vs/workbench/contrib/debug/common/debugger',
|
|
204
|
+
'debugType',
|
|
205
|
+
"Type of configuration."
|
|
206
|
+
)),
|
|
190
207
|
pattern: '^(?!node2)',
|
|
191
208
|
deprecationMessage: this.debuggerContribution.deprecated || (this.enabled ? undefined : debuggerDisabledMessage(this.type)),
|
|
192
209
|
doNotSuggest: !!this.debuggerContribution.deprecated,
|
|
193
|
-
errorMessage: nls.localizeWithPath(
|
|
194
|
-
|
|
210
|
+
errorMessage: ( nls.localizeWithPath(
|
|
211
|
+
'vs/workbench/contrib/debug/common/debugger',
|
|
212
|
+
'debugTypeNotRecognised',
|
|
213
|
+
"The debug type is not recognized. Make sure that you have a corresponding debug extension installed and that it is enabled."
|
|
214
|
+
)),
|
|
215
|
+
patternErrorMessage: ( nls.localizeWithPath(
|
|
216
|
+
'vs/workbench/contrib/debug/common/debugger',
|
|
217
|
+
'node2NotSupported',
|
|
218
|
+
"\"node2\" is no longer supported, use \"node\" instead and set the \"protocol\" attribute to \"inspector\"."
|
|
219
|
+
))
|
|
195
220
|
};
|
|
196
221
|
properties['request'] = {
|
|
197
222
|
enum: [request],
|
|
198
|
-
description: nls.localizeWithPath(
|
|
223
|
+
description: ( nls.localizeWithPath(
|
|
224
|
+
'vs/workbench/contrib/debug/common/debugger',
|
|
225
|
+
'debugRequest',
|
|
226
|
+
"Request type of configuration. Can be \"launch\" or \"attach\"."
|
|
227
|
+
)),
|
|
199
228
|
};
|
|
200
229
|
for (const prop in definitions['common'].properties) {
|
|
201
230
|
properties[prop] = {
|
|
@@ -217,15 +246,27 @@ let Debugger = class Debugger {
|
|
|
217
246
|
...{
|
|
218
247
|
windows: {
|
|
219
248
|
$ref: `#/definitions/${platformSpecificDefinitionId}`,
|
|
220
|
-
description: nls.localizeWithPath(
|
|
249
|
+
description: ( nls.localizeWithPath(
|
|
250
|
+
'vs/workbench/contrib/debug/common/debugger',
|
|
251
|
+
'debugWindowsConfiguration',
|
|
252
|
+
"Windows specific launch configuration attributes."
|
|
253
|
+
)),
|
|
221
254
|
},
|
|
222
255
|
osx: {
|
|
223
256
|
$ref: `#/definitions/${platformSpecificDefinitionId}`,
|
|
224
|
-
description: nls.localizeWithPath(
|
|
257
|
+
description: ( nls.localizeWithPath(
|
|
258
|
+
'vs/workbench/contrib/debug/common/debugger',
|
|
259
|
+
'debugOSXConfiguration',
|
|
260
|
+
"OS X specific launch configuration attributes."
|
|
261
|
+
)),
|
|
225
262
|
},
|
|
226
263
|
linux: {
|
|
227
264
|
$ref: `#/definitions/${platformSpecificDefinitionId}`,
|
|
228
|
-
description: nls.localizeWithPath(
|
|
265
|
+
description: ( nls.localizeWithPath(
|
|
266
|
+
'vs/workbench/contrib/debug/common/debugger',
|
|
267
|
+
'debugLinuxConfiguration',
|
|
268
|
+
"Linux specific launch configuration attributes."
|
|
269
|
+
)),
|
|
229
270
|
}
|
|
230
271
|
}
|
|
231
272
|
};
|
|
@@ -17,7 +17,11 @@ class DisassemblyViewInput extends EditorInput {
|
|
|
17
17
|
return DisassemblyViewInput._instance;
|
|
18
18
|
}
|
|
19
19
|
getName() {
|
|
20
|
-
return localizeWithPath(
|
|
20
|
+
return ( localizeWithPath(
|
|
21
|
+
'vs/workbench/contrib/debug/common/disassemblyViewInput',
|
|
22
|
+
'disassemblyInputName',
|
|
23
|
+
"Disassembly"
|
|
24
|
+
));
|
|
21
25
|
}
|
|
22
26
|
matches(other) {
|
|
23
27
|
return other instanceof DisassemblyViewInput;
|
|
@@ -22,7 +22,11 @@ async function showLoadedScriptMenu(accessor) {
|
|
|
22
22
|
const quickPick = quickInputService.createQuickPick();
|
|
23
23
|
localDisposableStore.add(quickPick);
|
|
24
24
|
quickPick.matchOnLabel = quickPick.matchOnDescription = quickPick.matchOnDetail = quickPick.sortByLabel = false;
|
|
25
|
-
quickPick.placeholder = nls.localizeWithPath(
|
|
25
|
+
quickPick.placeholder = ( nls.localizeWithPath(
|
|
26
|
+
'vs/workbench/contrib/debug/common/loadedScriptsPicker',
|
|
27
|
+
'moveFocusedView.selectView',
|
|
28
|
+
"Search loaded scripts by name"
|
|
29
|
+
));
|
|
26
30
|
quickPick.items = await _getPicks(quickPick.value, sessions, editorService, modelService, languageService, labelService);
|
|
27
31
|
localDisposableStore.add(quickPick.onDidChangeValue(async () => {
|
|
28
32
|
quickPick.items = await _getPicks(quickPick.value, sessions, editorService, modelService, languageService, labelService);
|
|
@@ -219,7 +219,11 @@ class ReplModel {
|
|
|
219
219
|
const clearAnsiIndex = output.lastIndexOf(clearAnsiSequence);
|
|
220
220
|
if (clearAnsiIndex !== -1) {
|
|
221
221
|
this.removeReplExpressions();
|
|
222
|
-
this.appendToRepl(session, { output: nls.localizeWithPath(
|
|
222
|
+
this.appendToRepl(session, { output: ( nls.localizeWithPath(
|
|
223
|
+
'vs/workbench/contrib/debug/common/replModel',
|
|
224
|
+
'consoleCleared',
|
|
225
|
+
"Console was cleared"
|
|
226
|
+
)), sev: Severity.Ignore });
|
|
223
227
|
output = output.substring(clearAnsiIndex + clearAnsiSequence.length);
|
|
224
228
|
}
|
|
225
229
|
if (expression) {
|
|
@@ -213,9 +213,13 @@ class BaseConfigurationResolverService extends AbstractVariableResolverService {
|
|
|
213
213
|
}
|
|
214
214
|
showUserInput(variable, inputInfos) {
|
|
215
215
|
if (!inputInfos) {
|
|
216
|
-
return Promise.reject(( new Error(
|
|
217
|
-
|
|
218
|
-
|
|
216
|
+
return Promise.reject(( new Error(( nls.localizeWithPath(
|
|
217
|
+
'vs/workbench/services/configurationResolver/browser/baseConfigurationResolverService',
|
|
218
|
+
'inputVariable.noInputSection',
|
|
219
|
+
"Variable '{0}' must be defined in an '{1}' section of the debug or task configuration.",
|
|
220
|
+
variable,
|
|
221
|
+
'input'
|
|
222
|
+
)))));
|
|
219
223
|
}
|
|
220
224
|
const info = inputInfos.filter(item => item.id === variable).pop();
|
|
221
225
|
if (info) {
|
|
@@ -261,7 +265,11 @@ class BaseConfigurationResolverService extends AbstractVariableResolverService {
|
|
|
261
265
|
value: value
|
|
262
266
|
};
|
|
263
267
|
if (value === info.default) {
|
|
264
|
-
item.description = nls.localizeWithPath(
|
|
268
|
+
item.description = ( nls.localizeWithPath(
|
|
269
|
+
'vs/workbench/services/configurationResolver/browser/baseConfigurationResolverService',
|
|
270
|
+
'inputVariable.defaultInputValue',
|
|
271
|
+
"(Default)"
|
|
272
|
+
));
|
|
265
273
|
picks.unshift(item);
|
|
266
274
|
}
|
|
267
275
|
else {
|
|
@@ -291,9 +299,12 @@ class BaseConfigurationResolverService extends AbstractVariableResolverService {
|
|
|
291
299
|
throw new Error(nls.localizeWithPath('vs/workbench/services/configurationResolver/browser/baseConfigurationResolverService', 'inputVariable.unknownType', "Input variable '{0}' can only be of type 'promptString', 'pickString', or 'command'.", variable));
|
|
292
300
|
}
|
|
293
301
|
}
|
|
294
|
-
return Promise.reject(( new Error(
|
|
295
|
-
|
|
296
|
-
|
|
302
|
+
return Promise.reject(( new Error(( nls.localizeWithPath(
|
|
303
|
+
'vs/workbench/services/configurationResolver/browser/baseConfigurationResolverService',
|
|
304
|
+
'inputVariable.undefinedVariable',
|
|
305
|
+
"Undefined input variable '{0}' encountered. Remove or define '{0}' to continue.",
|
|
306
|
+
variable
|
|
307
|
+
)))));
|
|
297
308
|
}
|
|
298
309
|
}
|
|
299
310
|
|