@codingame/monaco-vscode-debug-service-override 23.0.2 → 23.0.4
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 +15 -15
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +16 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +112 -112
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +24 -24
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +9 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +21 -21
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +43 -43
- package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +17 -17
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +7 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +7 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.js +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/runAndDebugAccessibilityHelp.js +16 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +10 -10
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +44 -44
- package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +11 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +2 -2
|
@@ -12,7 +12,7 @@ const debuggersExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
|
12
12
|
extensionPoint: 'debuggers',
|
|
13
13
|
defaultExtensionKind: ['workspace'],
|
|
14
14
|
jsonSchema: {
|
|
15
|
-
description: ( localize(
|
|
15
|
+
description: ( localize(6932, 'Contributes debug adapters.')),
|
|
16
16
|
type: 'array',
|
|
17
17
|
defaultSnippets: [{ body: [{ type: '' }] }],
|
|
18
18
|
items: {
|
|
@@ -21,64 +21,64 @@ const debuggersExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
|
21
21
|
defaultSnippets: [{ body: { type: '', program: '', runtime: '' } }],
|
|
22
22
|
properties: {
|
|
23
23
|
type: {
|
|
24
|
-
description: ( localize(
|
|
24
|
+
description: ( localize(6933, "Unique identifier for this debug adapter.")),
|
|
25
25
|
type: 'string'
|
|
26
26
|
},
|
|
27
27
|
label: {
|
|
28
|
-
description: ( localize(
|
|
28
|
+
description: ( localize(6934, "Display name for this debug adapter.")),
|
|
29
29
|
type: 'string'
|
|
30
30
|
},
|
|
31
31
|
program: {
|
|
32
32
|
description: ( localize(
|
|
33
|
-
|
|
33
|
+
6935,
|
|
34
34
|
"Path to the debug adapter program. Path is either absolute or relative to the extension folder."
|
|
35
35
|
)),
|
|
36
36
|
type: 'string'
|
|
37
37
|
},
|
|
38
38
|
args: {
|
|
39
|
-
description: ( localize(
|
|
39
|
+
description: ( localize(6936, "Optional arguments to pass to the adapter.")),
|
|
40
40
|
type: 'array'
|
|
41
41
|
},
|
|
42
42
|
runtime: {
|
|
43
43
|
description: ( localize(
|
|
44
|
-
|
|
44
|
+
6937,
|
|
45
45
|
"Optional runtime in case the program attribute is not an executable but requires a runtime."
|
|
46
46
|
)),
|
|
47
47
|
type: 'string'
|
|
48
48
|
},
|
|
49
49
|
runtimeArgs: {
|
|
50
|
-
description: ( localize(
|
|
50
|
+
description: ( localize(6938, "Optional runtime arguments.")),
|
|
51
51
|
type: 'array'
|
|
52
52
|
},
|
|
53
53
|
variables: {
|
|
54
54
|
description: ( localize(
|
|
55
|
-
|
|
55
|
+
6939,
|
|
56
56
|
"Mapping from interactive variables (e.g. ${action.pickProcess}) in `launch.json` to a command."
|
|
57
57
|
)),
|
|
58
58
|
type: 'object'
|
|
59
59
|
},
|
|
60
60
|
initialConfigurations: {
|
|
61
|
-
description: ( localize(
|
|
61
|
+
description: ( localize(6940, "Configurations for generating the initial \'launch.json\'.")),
|
|
62
62
|
type: ['array', 'string'],
|
|
63
63
|
},
|
|
64
64
|
languages: {
|
|
65
65
|
description: ( localize(
|
|
66
|
-
|
|
66
|
+
6941,
|
|
67
67
|
"List of languages for which the debug extension could be considered the \"default debugger\"."
|
|
68
68
|
)),
|
|
69
69
|
type: 'array'
|
|
70
70
|
},
|
|
71
71
|
configurationSnippets: {
|
|
72
|
-
description: ( localize(
|
|
72
|
+
description: ( localize(6942, "Snippets for adding new configurations in \'launch.json\'.")),
|
|
73
73
|
type: 'array'
|
|
74
74
|
},
|
|
75
75
|
configurationAttributes: {
|
|
76
|
-
description: ( localize(
|
|
76
|
+
description: ( localize(6943, "JSON schema configurations for validating \'launch.json\'.")),
|
|
77
77
|
type: 'object'
|
|
78
78
|
},
|
|
79
79
|
when: {
|
|
80
80
|
description: ( localize(
|
|
81
|
-
|
|
81
|
+
6944,
|
|
82
82
|
"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."
|
|
83
83
|
)),
|
|
84
84
|
type: 'string',
|
|
@@ -86,54 +86,54 @@ const debuggersExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
|
86
86
|
},
|
|
87
87
|
hiddenWhen: {
|
|
88
88
|
description: ( localize(
|
|
89
|
-
|
|
89
|
+
6945,
|
|
90
90
|
"When this condition is true, this debugger type is hidden from the debugger list, but is still enabled."
|
|
91
91
|
)),
|
|
92
92
|
type: 'string',
|
|
93
93
|
default: ''
|
|
94
94
|
},
|
|
95
95
|
deprecated: {
|
|
96
|
-
description: ( localize(
|
|
96
|
+
description: ( localize(6946, "Optional message to mark this debug type as being deprecated.")),
|
|
97
97
|
type: 'string',
|
|
98
98
|
default: ''
|
|
99
99
|
},
|
|
100
100
|
windows: {
|
|
101
|
-
description: ( localize(
|
|
101
|
+
description: ( localize(6947, "Windows specific settings.")),
|
|
102
102
|
type: 'object',
|
|
103
103
|
properties: {
|
|
104
104
|
runtime: {
|
|
105
|
-
description: ( localize(
|
|
105
|
+
description: ( localize(6948, "Runtime used for Windows.")),
|
|
106
106
|
type: 'string'
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
110
|
osx: {
|
|
111
|
-
description: ( localize(
|
|
111
|
+
description: ( localize(6949, "macOS specific settings.")),
|
|
112
112
|
type: 'object',
|
|
113
113
|
properties: {
|
|
114
114
|
runtime: {
|
|
115
|
-
description: ( localize(
|
|
115
|
+
description: ( localize(6950, "Runtime used for macOS.")),
|
|
116
116
|
type: 'string'
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
},
|
|
120
120
|
linux: {
|
|
121
|
-
description: ( localize(
|
|
121
|
+
description: ( localize(6951, "Linux specific settings.")),
|
|
122
122
|
type: 'object',
|
|
123
123
|
properties: {
|
|
124
124
|
runtime: {
|
|
125
|
-
description: ( localize(
|
|
125
|
+
description: ( localize(6952, "Runtime used for Linux.")),
|
|
126
126
|
type: 'string'
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
},
|
|
130
130
|
strings: {
|
|
131
|
-
description: ( localize(
|
|
131
|
+
description: ( localize(6953, "UI strings contributed by this debug adapter.")),
|
|
132
132
|
type: 'object',
|
|
133
133
|
properties: {
|
|
134
134
|
unverifiedBreakpoints: {
|
|
135
135
|
description: ( localize(
|
|
136
|
-
|
|
136
|
+
6954,
|
|
137
137
|
"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."
|
|
138
138
|
)),
|
|
139
139
|
type: 'string'
|
|
@@ -147,7 +147,7 @@ const debuggersExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
|
147
147
|
const breakpointsExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
148
148
|
extensionPoint: 'breakpoints',
|
|
149
149
|
jsonSchema: {
|
|
150
|
-
description: ( localize(
|
|
150
|
+
description: ( localize(6955, 'Contributes breakpoints.')),
|
|
151
151
|
type: 'array',
|
|
152
152
|
defaultSnippets: [{ body: [{ language: '' }] }],
|
|
153
153
|
items: {
|
|
@@ -156,12 +156,12 @@ const breakpointsExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
|
156
156
|
defaultSnippets: [{ body: { language: '' } }],
|
|
157
157
|
properties: {
|
|
158
158
|
language: {
|
|
159
|
-
description: ( localize(
|
|
159
|
+
description: ( localize(6956, "Allow breakpoints for this language.")),
|
|
160
160
|
type: 'string'
|
|
161
161
|
},
|
|
162
162
|
when: {
|
|
163
163
|
description: ( localize(
|
|
164
|
-
|
|
164
|
+
6957,
|
|
165
165
|
"Condition which must be true to enable breakpoints in this language. Consider matching this to the debugger when clause as appropriate."
|
|
166
166
|
)),
|
|
167
167
|
type: 'string',
|
|
@@ -174,7 +174,7 @@ const breakpointsExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
|
174
174
|
const presentationSchema = {
|
|
175
175
|
type: 'object',
|
|
176
176
|
description: ( localize(
|
|
177
|
-
|
|
177
|
+
6958,
|
|
178
178
|
"Presentation options on how to show this configuration in the debug configuration dropdown and the command palette."
|
|
179
179
|
)),
|
|
180
180
|
properties: {
|
|
@@ -182,7 +182,7 @@ const presentationSchema = {
|
|
|
182
182
|
type: 'boolean',
|
|
183
183
|
default: false,
|
|
184
184
|
description: ( localize(
|
|
185
|
-
|
|
185
|
+
6959,
|
|
186
186
|
"Controls if this configuration should be shown in the configuration dropdown and the command palette."
|
|
187
187
|
))
|
|
188
188
|
},
|
|
@@ -190,7 +190,7 @@ const presentationSchema = {
|
|
|
190
190
|
type: 'string',
|
|
191
191
|
default: '',
|
|
192
192
|
description: ( localize(
|
|
193
|
-
|
|
193
|
+
6960,
|
|
194
194
|
"Group that this configuration belongs to. Used for grouping and sorting in the configuration dropdown and the command palette."
|
|
195
195
|
))
|
|
196
196
|
},
|
|
@@ -198,7 +198,7 @@ const presentationSchema = {
|
|
|
198
198
|
type: 'number',
|
|
199
199
|
default: 1,
|
|
200
200
|
description: ( localize(
|
|
201
|
-
|
|
201
|
+
6961,
|
|
202
202
|
"Order of this configuration within a group. Used for grouping and sorting in the configuration dropdown and the command palette."
|
|
203
203
|
))
|
|
204
204
|
}
|
|
@@ -213,7 +213,7 @@ const defaultCompound = { name: 'Compound', configurations: [] };
|
|
|
213
213
|
const launchSchema = {
|
|
214
214
|
id: launchSchemaId,
|
|
215
215
|
type: 'object',
|
|
216
|
-
title: ( localize(
|
|
216
|
+
title: ( localize(6962, "Launch")),
|
|
217
217
|
allowTrailingCommas: true,
|
|
218
218
|
allowComments: true,
|
|
219
219
|
required: [],
|
|
@@ -221,13 +221,13 @@ const launchSchema = {
|
|
|
221
221
|
properties: {
|
|
222
222
|
version: {
|
|
223
223
|
type: 'string',
|
|
224
|
-
description: ( localize(
|
|
224
|
+
description: ( localize(6963, "Version of this file format.")),
|
|
225
225
|
default: '0.2.0'
|
|
226
226
|
},
|
|
227
227
|
configurations: {
|
|
228
228
|
type: 'array',
|
|
229
229
|
description: ( localize(
|
|
230
|
-
|
|
230
|
+
6964,
|
|
231
231
|
"List of configurations. Add new configurations or edit existing ones by using IntelliSense."
|
|
232
232
|
)),
|
|
233
233
|
items: {
|
|
@@ -239,7 +239,7 @@ const launchSchema = {
|
|
|
239
239
|
compounds: {
|
|
240
240
|
type: 'array',
|
|
241
241
|
description: ( localize(
|
|
242
|
-
|
|
242
|
+
6965,
|
|
243
243
|
"List of compounds. Each compound references multiple configurations which will get launched together."
|
|
244
244
|
)),
|
|
245
245
|
items: {
|
|
@@ -249,7 +249,7 @@ const launchSchema = {
|
|
|
249
249
|
name: {
|
|
250
250
|
type: 'string',
|
|
251
251
|
description: ( localize(
|
|
252
|
-
|
|
252
|
+
6966,
|
|
253
253
|
"Name of compound. Appears in the launch configuration drop down menu."
|
|
254
254
|
))
|
|
255
255
|
},
|
|
@@ -260,7 +260,7 @@ const launchSchema = {
|
|
|
260
260
|
items: {
|
|
261
261
|
oneOf: [{
|
|
262
262
|
enum: [],
|
|
263
|
-
description: ( localize(
|
|
263
|
+
description: ( localize(6967, "Please use unique configuration names."))
|
|
264
264
|
}, {
|
|
265
265
|
type: 'object',
|
|
266
266
|
required: ['name'],
|
|
@@ -268,19 +268,19 @@ const launchSchema = {
|
|
|
268
268
|
name: {
|
|
269
269
|
enum: [],
|
|
270
270
|
description: ( localize(
|
|
271
|
-
|
|
271
|
+
6966,
|
|
272
272
|
"Name of compound. Appears in the launch configuration drop down menu."
|
|
273
273
|
))
|
|
274
274
|
},
|
|
275
275
|
folder: {
|
|
276
276
|
enum: [],
|
|
277
|
-
description: ( localize(
|
|
277
|
+
description: ( localize(6968, "Name of folder in which the compound is located."))
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
280
|
}]
|
|
281
281
|
},
|
|
282
282
|
description: ( localize(
|
|
283
|
-
|
|
283
|
+
6969,
|
|
284
284
|
"Names of configurations that will be started as part of this compound."
|
|
285
285
|
))
|
|
286
286
|
},
|
|
@@ -288,14 +288,14 @@ const launchSchema = {
|
|
|
288
288
|
type: 'boolean',
|
|
289
289
|
default: false,
|
|
290
290
|
description: ( localize(
|
|
291
|
-
|
|
291
|
+
6970,
|
|
292
292
|
"Controls whether manually terminating one session will stop all of the compound sessions."
|
|
293
293
|
))
|
|
294
294
|
},
|
|
295
295
|
preLaunchTask: {
|
|
296
296
|
type: 'string',
|
|
297
297
|
default: '',
|
|
298
|
-
description: ( localize(
|
|
298
|
+
description: ( localize(6971, "Task to run before any of the compound configurations start."))
|
|
299
299
|
}
|
|
300
300
|
},
|
|
301
301
|
default: defaultCompound
|
|
@@ -321,8 +321,8 @@ class DebuggersDataRenderer extends Disposable {
|
|
|
321
321
|
return { data: { headers: [], rows: [] }, dispose: () => { } };
|
|
322
322
|
}
|
|
323
323
|
const headers = [
|
|
324
|
-
( localize(
|
|
325
|
-
( localize(
|
|
324
|
+
( localize(6972, "Name")),
|
|
325
|
+
( localize(6973, "Type")),
|
|
326
326
|
];
|
|
327
327
|
const rows = ( contrib.map(d => {
|
|
328
328
|
return [
|
|
@@ -341,7 +341,7 @@ class DebuggersDataRenderer extends Disposable {
|
|
|
341
341
|
}
|
|
342
342
|
( Registry.as(Extensions.ExtensionFeaturesRegistry)).registerExtensionFeature({
|
|
343
343
|
id: 'debuggers',
|
|
344
|
-
label: ( localize(
|
|
344
|
+
label: ( localize(6974, "Debuggers")),
|
|
345
345
|
access: {
|
|
346
346
|
canToggle: false
|
|
347
347
|
},
|
|
@@ -79,7 +79,7 @@ let Debugger = class Debugger {
|
|
|
79
79
|
if (da) {
|
|
80
80
|
return Promise.resolve(da);
|
|
81
81
|
}
|
|
82
|
-
throw ( new Error(( localize(
|
|
82
|
+
throw ( new Error(( localize(6976, "Cannot find debug adapter for type '{0}'.", this.type))));
|
|
83
83
|
}
|
|
84
84
|
async substituteVariables(folder, config) {
|
|
85
85
|
const substitutedConfig = await this.adapterManager.substituteVariables(this.type, folder, config);
|
|
@@ -140,10 +140,10 @@ let Debugger = class Debugger {
|
|
|
140
140
|
}
|
|
141
141
|
const eol = this.resourcePropertiesService.getEOL(( URI.from({ scheme: Schemas.untitled, path: '1' }))) === '\r\n' ? '\r\n' : '\n';
|
|
142
142
|
const configs = ( JSON.stringify(initialConfigurations, null, '\t').split('\n').map(line => '\t' + line)).join(eol).trim();
|
|
143
|
-
const comment1 = ( localize(
|
|
144
|
-
const comment2 = ( localize(
|
|
143
|
+
const comment1 = ( localize(6977, "Use IntelliSense to learn about possible attributes."));
|
|
144
|
+
const comment2 = ( localize(6978, "Hover to view descriptions of existing attributes."));
|
|
145
145
|
const comment3 = ( localize(
|
|
146
|
-
|
|
146
|
+
6979,
|
|
147
147
|
"For more information, visit: {0}",
|
|
148
148
|
'https://go.microsoft.com/fwlink/?linkid=830387'
|
|
149
149
|
));
|
|
@@ -195,22 +195,22 @@ let Debugger = class Debugger {
|
|
|
195
195
|
properties['type'] = {
|
|
196
196
|
enum: [this.type],
|
|
197
197
|
enumDescriptions: [this.label],
|
|
198
|
-
description: ( localize(
|
|
198
|
+
description: ( localize(6980, "Type of configuration.")),
|
|
199
199
|
pattern: '^(?!node2)',
|
|
200
200
|
deprecationMessage: this.debuggerContribution.deprecated || (this.enabled ? undefined : debuggerDisabledMessage(this.type)),
|
|
201
201
|
doNotSuggest: !!this.debuggerContribution.deprecated,
|
|
202
202
|
errorMessage: ( localize(
|
|
203
|
-
|
|
203
|
+
6981,
|
|
204
204
|
"The debug type is not recognized. Make sure that you have a corresponding debug extension installed and that it is enabled."
|
|
205
205
|
)),
|
|
206
206
|
patternErrorMessage: ( localize(
|
|
207
|
-
|
|
207
|
+
6982,
|
|
208
208
|
"\"node2\" is no longer supported, use \"node\" instead and set the \"protocol\" attribute to \"inspector\"."
|
|
209
209
|
))
|
|
210
210
|
};
|
|
211
211
|
properties['request'] = {
|
|
212
212
|
enum: [request],
|
|
213
|
-
description: ( localize(
|
|
213
|
+
description: ( localize(6983, "Request type of configuration. Can be \"launch\" or \"attach\".")),
|
|
214
214
|
};
|
|
215
215
|
for (const prop in definitions['common'].properties) {
|
|
216
216
|
properties[prop] = {
|
|
@@ -232,15 +232,15 @@ let Debugger = class Debugger {
|
|
|
232
232
|
...{
|
|
233
233
|
windows: {
|
|
234
234
|
$ref: `#/definitions/${platformSpecificDefinitionId}`,
|
|
235
|
-
description: ( localize(
|
|
235
|
+
description: ( localize(6984, "Windows specific launch configuration attributes.")),
|
|
236
236
|
},
|
|
237
237
|
osx: {
|
|
238
238
|
$ref: `#/definitions/${platformSpecificDefinitionId}`,
|
|
239
|
-
description: ( localize(
|
|
239
|
+
description: ( localize(6985, "OS X specific launch configuration attributes.")),
|
|
240
240
|
},
|
|
241
241
|
linux: {
|
|
242
242
|
$ref: `#/definitions/${platformSpecificDefinitionId}`,
|
|
243
|
-
description: ( localize(
|
|
243
|
+
description: ( localize(6986, "Linux specific launch configuration attributes.")),
|
|
244
244
|
}
|
|
245
245
|
}
|
|
246
246
|
};
|
|
@@ -8,7 +8,7 @@ import { INotebookKernelService } from '@codingame/monaco-vscode-api/vscode/vs/w
|
|
|
8
8
|
import { INotebookService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService.service';
|
|
9
9
|
|
|
10
10
|
const COPY_NOTEBOOK_VARIABLE_VALUE_ID = 'workbench.debug.viewlet.action.copyWorkspaceVariableValue';
|
|
11
|
-
const COPY_NOTEBOOK_VARIABLE_VALUE_LABEL = ( localize(
|
|
11
|
+
const COPY_NOTEBOOK_VARIABLE_VALUE_LABEL = ( localize(9142, "Copy Value"));
|
|
12
12
|
registerAction2(class extends Action2 {
|
|
13
13
|
constructor() {
|
|
14
14
|
super({
|
|
@@ -28,7 +28,7 @@ registerAction2(class extends Action2 {
|
|
|
28
28
|
constructor() {
|
|
29
29
|
super({
|
|
30
30
|
id: '_executeNotebookVariableProvider',
|
|
31
|
-
title: ( localize(
|
|
31
|
+
title: ( localize(9143, "Execute Notebook Variable Provider")),
|
|
32
32
|
f1: false,
|
|
33
33
|
});
|
|
34
34
|
}
|