@codingame/monaco-vscode-debug-service-override 8.0.2 → 8.0.3
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/callStackView.js +16 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +107 -107
- 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/debugEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +3 -3
- 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/repl.js +16 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.js +11 -11
- package/vscode/src/vs/workbench/contrib/debug/browser/runAndDebugAccessibilityHelp.js +14 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +9 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +9 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +7 -7
- 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/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +2 -2
|
@@ -26,7 +26,7 @@ let DebugConsoleQuickAccess = class DebugConsoleQuickAccess extends PickerQuickA
|
|
|
26
26
|
if (debugConsolePicks.length > 0) {
|
|
27
27
|
debugConsolePicks.push({ type: 'separator' });
|
|
28
28
|
}
|
|
29
|
-
const createTerminalLabel = ( localize(
|
|
29
|
+
const createTerminalLabel = ( localize(5947, "Start a New Debug Session"));
|
|
30
30
|
debugConsolePicks.push({
|
|
31
31
|
label: `$(plus) ${createTerminalLabel}`,
|
|
32
32
|
ariaLabel: createTerminalLabel,
|
|
@@ -29,8 +29,8 @@ class ToggleBreakpointAction extends Action2 {
|
|
|
29
29
|
super({
|
|
30
30
|
id: 'editor.debug.action.toggleBreakpoint',
|
|
31
31
|
title: {
|
|
32
|
-
...( localize2(
|
|
33
|
-
mnemonicTitle: ( localize(
|
|
32
|
+
...( localize2(5948, "Debug: Toggle Breakpoint")),
|
|
33
|
+
mnemonicTitle: ( localize(5949, "Toggle &&Breakpoint")),
|
|
34
34
|
},
|
|
35
35
|
f1: true,
|
|
36
36
|
precondition: CONTEXT_DEBUGGERS_AVAILABLE,
|
|
@@ -89,12 +89,12 @@ class ConditionalBreakpointAction extends EditorAction {
|
|
|
89
89
|
constructor() {
|
|
90
90
|
super({
|
|
91
91
|
id: 'editor.debug.action.conditionalBreakpoint',
|
|
92
|
-
label: ( localize(
|
|
92
|
+
label: ( localize(5950, "Debug: Add Conditional Breakpoint...")),
|
|
93
93
|
alias: 'Debug: Add Conditional Breakpoint...',
|
|
94
94
|
precondition: CONTEXT_DEBUGGERS_AVAILABLE,
|
|
95
95
|
menuOpts: {
|
|
96
96
|
menuId: MenuId.MenubarNewBreakpointMenu,
|
|
97
|
-
title: ( localize(
|
|
97
|
+
title: ( localize(5951, "&&Conditional Breakpoint...")),
|
|
98
98
|
group: '1_breakpoints',
|
|
99
99
|
order: 1,
|
|
100
100
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -113,13 +113,13 @@ class LogPointAction extends EditorAction {
|
|
|
113
113
|
constructor() {
|
|
114
114
|
super({
|
|
115
115
|
id: 'editor.debug.action.addLogPoint',
|
|
116
|
-
label: ( localize(
|
|
116
|
+
label: ( localize(5952, "Debug: Add Logpoint...")),
|
|
117
117
|
precondition: CONTEXT_DEBUGGERS_AVAILABLE,
|
|
118
118
|
alias: 'Debug: Add Logpoint...',
|
|
119
119
|
menuOpts: [
|
|
120
120
|
{
|
|
121
121
|
menuId: MenuId.MenubarNewBreakpointMenu,
|
|
122
|
-
title: ( localize(
|
|
122
|
+
title: ( localize(5953, "&&Logpoint...")),
|
|
123
123
|
group: '1_breakpoints',
|
|
124
124
|
order: 4,
|
|
125
125
|
when: CONTEXT_DEBUGGERS_AVAILABLE,
|
|
@@ -139,13 +139,13 @@ class TriggerByBreakpointAction extends EditorAction {
|
|
|
139
139
|
constructor() {
|
|
140
140
|
super({
|
|
141
141
|
id: 'editor.debug.action.triggerByBreakpoint',
|
|
142
|
-
label: ( localize(
|
|
142
|
+
label: ( localize(5954, "Debug: Add Triggered Breakpoint...")),
|
|
143
143
|
precondition: CONTEXT_DEBUGGERS_AVAILABLE,
|
|
144
144
|
alias: 'Debug: Triggered Breakpoint...',
|
|
145
145
|
menuOpts: [
|
|
146
146
|
{
|
|
147
147
|
menuId: MenuId.MenubarNewBreakpointMenu,
|
|
148
|
-
title: ( localize(
|
|
148
|
+
title: ( localize(5955, "&&Triggered Breakpoint...")),
|
|
149
149
|
group: '1_breakpoints',
|
|
150
150
|
order: 4,
|
|
151
151
|
when: CONTEXT_DEBUGGERS_AVAILABLE,
|
|
@@ -165,12 +165,12 @@ class EditBreakpointAction extends EditorAction {
|
|
|
165
165
|
constructor() {
|
|
166
166
|
super({
|
|
167
167
|
id: 'editor.debug.action.editBreakpoint',
|
|
168
|
-
label: ( localize(
|
|
168
|
+
label: ( localize(5956, "Debug: Edit Breakpoint")),
|
|
169
169
|
alias: 'Debug: Edit Existing Breakpoint',
|
|
170
170
|
precondition: CONTEXT_DEBUGGERS_AVAILABLE,
|
|
171
171
|
menuOpts: {
|
|
172
172
|
menuId: MenuId.MenubarNewBreakpointMenu,
|
|
173
|
-
title: ( localize(
|
|
173
|
+
title: ( localize(5957, "&&Edit Breakpoint")),
|
|
174
174
|
group: '1_breakpoints',
|
|
175
175
|
order: 1,
|
|
176
176
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -205,8 +205,8 @@ class OpenDisassemblyViewAction extends Action2 {
|
|
|
205
205
|
super({
|
|
206
206
|
id: OpenDisassemblyViewAction.ID,
|
|
207
207
|
title: {
|
|
208
|
-
...( localize2(
|
|
209
|
-
mnemonicTitle: ( localize(
|
|
208
|
+
...( localize2(5958, "Open Disassembly View")),
|
|
209
|
+
mnemonicTitle: ( localize(5959, "&&DisassemblyView")),
|
|
210
210
|
},
|
|
211
211
|
precondition: CONTEXT_FOCUSED_STACK_FRAME_HAS_INSTRUCTION_POINTER_REFERENCE,
|
|
212
212
|
menu: [
|
|
@@ -257,11 +257,11 @@ class ToggleDisassemblyViewSourceCodeAction extends Action2 {
|
|
|
257
257
|
super({
|
|
258
258
|
id: ToggleDisassemblyViewSourceCodeAction.ID,
|
|
259
259
|
title: {
|
|
260
|
-
...( localize2(
|
|
261
|
-
mnemonicTitle: ( localize(
|
|
260
|
+
...( localize2(5960, "Toggle Source Code in Disassembly View")),
|
|
261
|
+
mnemonicTitle: ( localize(5961, "&&ToggleSource")),
|
|
262
262
|
},
|
|
263
263
|
metadata: {
|
|
264
|
-
description: ( localize2(
|
|
264
|
+
description: ( localize2(5962, 'Shows or hides source code in disassembly'))
|
|
265
265
|
},
|
|
266
266
|
f1: true,
|
|
267
267
|
});
|
|
@@ -276,7 +276,7 @@ class ToggleDisassemblyViewSourceCodeAction extends Action2 {
|
|
|
276
276
|
}
|
|
277
277
|
class RunToCursorAction extends EditorAction {
|
|
278
278
|
static { this.ID = 'editor.debug.action.runToCursor'; }
|
|
279
|
-
static { this.LABEL = ( localize2(
|
|
279
|
+
static { this.LABEL = ( localize2(5963, "Run to Cursor")); }
|
|
280
280
|
constructor() {
|
|
281
281
|
super({
|
|
282
282
|
id: RunToCursorAction.ID,
|
|
@@ -313,7 +313,7 @@ class RunToCursorAction extends EditorAction {
|
|
|
313
313
|
}
|
|
314
314
|
class SelectionToReplAction extends EditorAction {
|
|
315
315
|
static { this.ID = 'editor.debug.action.selectionToRepl'; }
|
|
316
|
-
static { this.LABEL = ( localize2(
|
|
316
|
+
static { this.LABEL = ( localize2(5964, "Evaluate in Debug Console")); }
|
|
317
317
|
constructor() {
|
|
318
318
|
super({
|
|
319
319
|
id: SelectionToReplAction.ID,
|
|
@@ -348,7 +348,7 @@ class SelectionToReplAction extends EditorAction {
|
|
|
348
348
|
}
|
|
349
349
|
class SelectionToWatchExpressionsAction extends EditorAction {
|
|
350
350
|
static { this.ID = 'editor.debug.action.selectionToWatch'; }
|
|
351
|
-
static { this.LABEL = ( localize2(
|
|
351
|
+
static { this.LABEL = ( localize2(5965, "Add to Watch")); }
|
|
352
352
|
constructor() {
|
|
353
353
|
super({
|
|
354
354
|
id: SelectionToWatchExpressionsAction.ID,
|
|
@@ -393,7 +393,7 @@ class ShowDebugHoverAction extends EditorAction {
|
|
|
393
393
|
constructor() {
|
|
394
394
|
super({
|
|
395
395
|
id: 'editor.debug.action.showDebugHover',
|
|
396
|
-
label: ( localize(
|
|
396
|
+
label: ( localize(5966, "Debug: Show Hover")),
|
|
397
397
|
alias: 'Debug: Show Hover',
|
|
398
398
|
precondition: CONTEXT_IN_DEBUG_MODE,
|
|
399
399
|
kbOpts: {
|
|
@@ -411,10 +411,10 @@ class ShowDebugHoverAction extends EditorAction {
|
|
|
411
411
|
return editor.getContribution(EDITOR_CONTRIBUTION_ID)?.showHover(position, true);
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
const NO_TARGETS_MESSAGE = ( localize(
|
|
414
|
+
const NO_TARGETS_MESSAGE = ( localize(5967, "Step targets are not available here"));
|
|
415
415
|
class StepIntoTargetsAction extends EditorAction {
|
|
416
416
|
static { this.ID = 'editor.debug.action.stepIntoTargets'; }
|
|
417
|
-
static { this.LABEL = ( localize(
|
|
417
|
+
static { this.LABEL = ( localize(5968, "Step Into Target")); }
|
|
418
418
|
constructor() {
|
|
419
419
|
super({
|
|
420
420
|
id: StepIntoTargetsAction.ID,
|
|
@@ -526,7 +526,7 @@ class GoToNextBreakpointAction extends GoToBreakpointAction {
|
|
|
526
526
|
constructor() {
|
|
527
527
|
super(true, {
|
|
528
528
|
id: 'editor.debug.action.goToNextBreakpoint',
|
|
529
|
-
label: ( localize(
|
|
529
|
+
label: ( localize(5969, "Debug: Go to Next Breakpoint")),
|
|
530
530
|
alias: 'Debug: Go to Next Breakpoint',
|
|
531
531
|
precondition: CONTEXT_DEBUGGERS_AVAILABLE
|
|
532
532
|
});
|
|
@@ -536,7 +536,7 @@ class GoToPreviousBreakpointAction extends GoToBreakpointAction {
|
|
|
536
536
|
constructor() {
|
|
537
537
|
super(false, {
|
|
538
538
|
id: 'editor.debug.action.goToPreviousBreakpoint',
|
|
539
|
-
label: ( localize(
|
|
539
|
+
label: ( localize(5970, "Debug: Go to Previous Breakpoint")),
|
|
540
540
|
alias: 'Debug: Go to Previous Breakpoint',
|
|
541
541
|
precondition: CONTEXT_DEBUGGERS_AVAILABLE
|
|
542
542
|
});
|
|
@@ -546,7 +546,7 @@ class CloseExceptionWidgetAction extends EditorAction {
|
|
|
546
546
|
constructor() {
|
|
547
547
|
super({
|
|
548
548
|
id: 'editor.debug.action.closeExceptionWidget',
|
|
549
|
-
label: ( localize(
|
|
549
|
+
label: ( localize(5971, "Close Exception Widget")),
|
|
550
550
|
alias: 'Close Exception Widget',
|
|
551
551
|
precondition: CONTEXT_EXCEPTION_WIDGET_VISIBLE,
|
|
552
552
|
kbOpts: {
|
|
@@ -67,8 +67,8 @@ registerColor('editor.inlineValuesForeground', {
|
|
|
67
67
|
light: '#00000080',
|
|
68
68
|
hcDark: '#ffffff80',
|
|
69
69
|
hcLight: '#00000080'
|
|
70
|
-
}, ( localize(
|
|
71
|
-
registerColor('editor.inlineValuesBackground', '#ffc80033', ( localize(
|
|
70
|
+
}, ( localize(5972, "Color for the debug inline value text.")));
|
|
71
|
+
registerColor('editor.inlineValuesBackground', '#ffc80033', ( localize(5973, "Color for the debug inline value background.")));
|
|
72
72
|
class InlineSegment {
|
|
73
73
|
constructor(column, text) {
|
|
74
74
|
this.column = column;
|
|
@@ -15,7 +15,7 @@ let StartDebugQuickAccessProvider = class StartDebugQuickAccessProvider extends
|
|
|
15
15
|
constructor(debugService, contextService, commandService, notificationService) {
|
|
16
16
|
super(DEBUG_QUICK_ACCESS_PREFIX, {
|
|
17
17
|
noResultsPick: {
|
|
18
|
-
label: ( localize(
|
|
18
|
+
label: ( localize(6031, "No matching launch configurations"))
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
21
|
this.debugService = debugService;
|
|
@@ -44,7 +44,7 @@ let StartDebugQuickAccessProvider = class StartDebugQuickAccessProvider extends
|
|
|
44
44
|
highlights: { label: highlights },
|
|
45
45
|
buttons: [{
|
|
46
46
|
iconClass: ThemeIcon.asClassName(debugConfigure),
|
|
47
|
-
tooltip: ( localize(
|
|
47
|
+
tooltip: ( localize(6032, "Configure Launch Configuration"))
|
|
48
48
|
}],
|
|
49
49
|
trigger: () => {
|
|
50
50
|
config.launch.openConfigFile({ preserveFocus: false });
|
|
@@ -65,7 +65,7 @@ let StartDebugQuickAccessProvider = class StartDebugQuickAccessProvider extends
|
|
|
65
65
|
const dynamicProviders = await configManager.getDynamicProviders();
|
|
66
66
|
if (dynamicProviders.length > 0) {
|
|
67
67
|
picks.push({
|
|
68
|
-
type: 'separator', label: ( localize(
|
|
68
|
+
type: 'separator', label: ( localize(6033, "contributed"))
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
71
|
configManager.getRecentDynamicConfigurations().forEach(({ name, type }) => {
|
|
@@ -76,7 +76,7 @@ let StartDebugQuickAccessProvider = class StartDebugQuickAccessProvider extends
|
|
|
76
76
|
highlights: { label: highlights },
|
|
77
77
|
buttons: [{
|
|
78
78
|
iconClass: ThemeIcon.asClassName(debugRemoveConfig),
|
|
79
|
-
tooltip: ( localize(
|
|
79
|
+
tooltip: ( localize(6034, "Remove Launch Configuration"))
|
|
80
80
|
}],
|
|
81
81
|
trigger: () => {
|
|
82
82
|
configManager.removeRecentDynamicConfigurations(name, type);
|
|
@@ -99,7 +99,7 @@ let StartDebugQuickAccessProvider = class StartDebugQuickAccessProvider extends
|
|
|
99
99
|
dynamicProviders.forEach(provider => {
|
|
100
100
|
picks.push({
|
|
101
101
|
label: `$(folder) ${provider.label}...`,
|
|
102
|
-
ariaLabel: ( localize(
|
|
102
|
+
ariaLabel: ( localize(6035, "{0} contributed configurations", provider.label)),
|
|
103
103
|
accept: async () => {
|
|
104
104
|
const pick = await provider.pick();
|
|
105
105
|
if (pick) {
|
|
@@ -111,12 +111,12 @@ let StartDebugQuickAccessProvider = class StartDebugQuickAccessProvider extends
|
|
|
111
111
|
});
|
|
112
112
|
const visibleLaunches = configManager.getLaunches().filter(launch => !launch.hidden);
|
|
113
113
|
if (visibleLaunches.length > 0) {
|
|
114
|
-
picks.push({ type: 'separator', label: ( localize(
|
|
114
|
+
picks.push({ type: 'separator', label: ( localize(6036, "configure")) });
|
|
115
115
|
}
|
|
116
116
|
for (const launch of visibleLaunches) {
|
|
117
117
|
const label = this.contextService.getWorkbenchState() === WorkbenchState.WORKSPACE ?
|
|
118
|
-
( localize(
|
|
119
|
-
( localize(
|
|
118
|
+
( localize(6037, "Add Config ({0})...", launch.name)) :
|
|
119
|
+
( localize(6038, "Add Configuration..."));
|
|
120
120
|
picks.push({
|
|
121
121
|
label,
|
|
122
122
|
description: this.contextService.getWorkbenchState() === WorkbenchState.WORKSPACE ? launch.name : '',
|
|
@@ -49,10 +49,10 @@ let DebugStatusContribution = class DebugStatusContribution {
|
|
|
49
49
|
text = (manager.getLaunches().length > 1 ? `${name} (${manager.selectedConfiguration.launch.name})` : name);
|
|
50
50
|
}
|
|
51
51
|
return {
|
|
52
|
-
name: ( localize(
|
|
52
|
+
name: ( localize(6039, "Debug")),
|
|
53
53
|
text: '$(debug-alt-small) ' + text,
|
|
54
|
-
ariaLabel: ( localize(
|
|
55
|
-
tooltip: ( localize(
|
|
54
|
+
ariaLabel: ( localize(6040, "Debug: {0}", text)),
|
|
55
|
+
tooltip: ( localize(6041, "Select and start debug configuration")),
|
|
56
56
|
command: 'workbench.action.debug.selectandstart'
|
|
57
57
|
};
|
|
58
58
|
}
|
|
@@ -301,7 +301,7 @@ function createDisconnectMenuItemAction(action, disposables, accessor, options)
|
|
|
301
301
|
if (!secondary.length) {
|
|
302
302
|
return undefined;
|
|
303
303
|
}
|
|
304
|
-
const dropdownAction = disposables.add(( (new Action('notebook.moreRunActions', ( localize(
|
|
304
|
+
const dropdownAction = disposables.add(( (new Action('notebook.moreRunActions', ( localize(6042, "More...")), 'codicon-chevron-down', true))));
|
|
305
305
|
const item = instantiationService.createInstance(DropdownWithPrimaryActionViewItem, action, dropdownAction, secondary, 'debug-stop-actions', contextMenuService, options);
|
|
306
306
|
return item;
|
|
307
307
|
}
|
|
@@ -375,8 +375,8 @@ registerDebugToolBarItem(STEP_OVER_ID, STEP_OVER_LABEL, 20, debugStepOver, undef
|
|
|
375
375
|
registerDebugToolBarItem(STEP_INTO_ID, STEP_INTO_LABEL, 30, debugStepInto, undefined, ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped'))));
|
|
376
376
|
registerDebugToolBarItem(STEP_OUT_ID, STEP_OUT_LABEL, 40, debugStepOut, undefined, ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped'))));
|
|
377
377
|
registerDebugToolBarItem(RESTART_SESSION_ID, RESTART_LABEL, 60, debugRestart);
|
|
378
|
-
registerDebugToolBarItem(STEP_BACK_ID, ( localize(
|
|
379
|
-
registerDebugToolBarItem(REVERSE_CONTINUE_ID, ( localize(
|
|
378
|
+
registerDebugToolBarItem(STEP_BACK_ID, ( localize(6043, "Step Back")), 50, debugStepBack, CONTEXT_STEP_BACK_SUPPORTED, ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped'))));
|
|
379
|
+
registerDebugToolBarItem(REVERSE_CONTINUE_ID, ( localize(6044, "Reverse")), 55, debugReverseContinue, CONTEXT_STEP_BACK_SUPPORTED, ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped'))));
|
|
380
380
|
registerDebugToolBarItem(FOCUS_SESSION_ID, FOCUS_SESSION_LABEL, 100, Codicon.listTree, ( (ContextKeyExpr.and(
|
|
381
381
|
CONTEXT_MULTI_SESSION_DEBUG,
|
|
382
382
|
(CONTEXT_TOOLBAR_COMMAND_CENTER.negate())
|
|
@@ -179,10 +179,10 @@ registerAction2(class extends Action2 {
|
|
|
179
179
|
title: {
|
|
180
180
|
value: DEBUG_CONFIGURE_LABEL,
|
|
181
181
|
original: 'Open \'launch.json\'',
|
|
182
|
-
mnemonicTitle: ( localize(
|
|
182
|
+
mnemonicTitle: ( localize(6045, "Open &&Configurations"))
|
|
183
183
|
},
|
|
184
184
|
metadata: {
|
|
185
|
-
description: ( localize2(
|
|
185
|
+
description: ( localize2(6046, 'Opens the file used to configure how your program is debugged'))
|
|
186
186
|
},
|
|
187
187
|
f1: true,
|
|
188
188
|
icon: debugConfigure,
|
|
@@ -234,7 +234,7 @@ registerAction2(class extends Action2 {
|
|
|
234
234
|
const picked = await quickInputService.pick(picks, {
|
|
235
235
|
activeItem: picks[0],
|
|
236
236
|
placeHolder: ( localize(
|
|
237
|
-
|
|
237
|
+
6047,
|
|
238
238
|
"Select a workspace folder to create a launch.json file in or add it to the workspace config file"
|
|
239
239
|
))
|
|
240
240
|
});
|
|
@@ -252,7 +252,7 @@ registerAction2(class extends Action2 {
|
|
|
252
252
|
constructor() {
|
|
253
253
|
super({
|
|
254
254
|
id: 'debug.toggleReplIgnoreFocus',
|
|
255
|
-
title: ( localize(
|
|
255
|
+
title: ( localize(6048, "Debug Console")),
|
|
256
256
|
toggled: ( (ContextKeyExpr.has(`view.${REPL_VIEW_ID}.visible`))),
|
|
257
257
|
menu: [{
|
|
258
258
|
id: ViewsSubMenu,
|
|
@@ -284,7 +284,7 @@ MenuRegistry.appendMenuItem(MenuId.ViewContainerTitle, {
|
|
|
284
284
|
order: 10,
|
|
285
285
|
command: {
|
|
286
286
|
id: SELECT_AND_START_ID,
|
|
287
|
-
title: ( localize(
|
|
287
|
+
title: ( localize(6049, "Start Additional Session")),
|
|
288
288
|
}
|
|
289
289
|
});
|
|
290
290
|
|
|
@@ -56,7 +56,7 @@ const disassemblyNotAvailable = {
|
|
|
56
56
|
address: 0n,
|
|
57
57
|
instruction: {
|
|
58
58
|
address: '-1',
|
|
59
|
-
instruction: ( localize(
|
|
59
|
+
instruction: ( localize(6050, "Disassembly not available."))
|
|
60
60
|
},
|
|
61
61
|
};
|
|
62
62
|
let DisassemblyView = class DisassemblyView extends EditorPane {
|
|
@@ -170,7 +170,7 @@ let DisassemblyView = class DisassemblyView extends EditorPane {
|
|
|
170
170
|
project(row) { return row; }
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
|
-
label: ( localize(
|
|
173
|
+
label: ( localize(6051, "instructions")),
|
|
174
174
|
tooltip: '',
|
|
175
175
|
weight: 0.3,
|
|
176
176
|
templateId: InstructionRenderer.TEMPLATE_ID,
|
|
@@ -705,7 +705,7 @@ let InstructionRenderer = class InstructionRenderer extends Disposable {
|
|
|
705
705
|
};
|
|
706
706
|
this.editorService.openEditor({
|
|
707
707
|
resource: sourceURI,
|
|
708
|
-
description: ( localize(
|
|
708
|
+
description: ( localize(6052, "from disassembly")),
|
|
709
709
|
options: {
|
|
710
710
|
preserveFocus: false,
|
|
711
711
|
selection: selection,
|
|
@@ -740,18 +740,18 @@ InstructionRenderer = InstructionRenderer_1 = ( (__decorate([
|
|
|
740
740
|
], InstructionRenderer)));
|
|
741
741
|
class AccessibilityProvider {
|
|
742
742
|
getWidgetAriaLabel() {
|
|
743
|
-
return ( localize(
|
|
743
|
+
return ( localize(6053, "Disassembly View"));
|
|
744
744
|
}
|
|
745
745
|
getAriaLabel(element) {
|
|
746
746
|
let label = '';
|
|
747
747
|
const instruction = element.instruction;
|
|
748
748
|
if (instruction.address !== '-1') {
|
|
749
|
-
label += `${( localize(
|
|
749
|
+
label += `${( localize(6054, "Address"))}: ${instruction.address}`;
|
|
750
750
|
}
|
|
751
751
|
if (instruction.instructionBytes) {
|
|
752
|
-
label += `, ${( localize(
|
|
752
|
+
label += `, ${( localize(6055, "Bytes"))}: ${instruction.instructionBytes}`;
|
|
753
753
|
}
|
|
754
|
-
label += `, ${( localize(
|
|
754
|
+
label += `, ${( localize(6056, "Instruction"))}: ${instruction.instruction}`;
|
|
755
755
|
return label;
|
|
756
756
|
}
|
|
757
757
|
}
|
|
@@ -559,7 +559,7 @@ class LoadedScriptsRenderer {
|
|
|
559
559
|
options.fileKind = FileKind.ROOT_FOLDER;
|
|
560
560
|
}
|
|
561
561
|
else if (element instanceof SessionTreeItem) {
|
|
562
|
-
options.title = ( localize(
|
|
562
|
+
options.title = ( localize(6057, "Debug Session"));
|
|
563
563
|
options.hideIcon = true;
|
|
564
564
|
}
|
|
565
565
|
else if (element instanceof BaseTreeItem) {
|
|
@@ -581,20 +581,20 @@ class LoadedScriptsRenderer {
|
|
|
581
581
|
}
|
|
582
582
|
class LoadedSciptsAccessibilityProvider {
|
|
583
583
|
getWidgetAriaLabel() {
|
|
584
|
-
return ( localize(
|
|
584
|
+
return ( localize(6058, "Debug Loaded Scripts"));
|
|
585
585
|
}
|
|
586
586
|
getAriaLabel(element) {
|
|
587
587
|
if (element instanceof RootFolderTreeItem) {
|
|
588
|
-
return ( localize(
|
|
588
|
+
return ( localize(6059, "Workspace folder {0}, loaded script, debug", element.getLabel()));
|
|
589
589
|
}
|
|
590
590
|
if (element instanceof SessionTreeItem) {
|
|
591
|
-
return ( localize(
|
|
591
|
+
return ( localize(6060, "Session {0}, loaded script, debug", element.getLabel()));
|
|
592
592
|
}
|
|
593
593
|
if (element.hasChildren()) {
|
|
594
|
-
return ( localize(
|
|
594
|
+
return ( localize(6061, "Folder {0}, loaded script, debug", element.getLabel()));
|
|
595
595
|
}
|
|
596
596
|
else {
|
|
597
|
-
return ( localize(
|
|
597
|
+
return ( localize(6062, "{0}, loaded script, debug", element.getLabel()));
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
600
|
}
|
|
@@ -621,7 +621,7 @@ registerAction2(class Collapse extends ViewAction {
|
|
|
621
621
|
super({
|
|
622
622
|
id: 'loadedScripts.collapse',
|
|
623
623
|
viewId: LOADED_SCRIPTS_VIEW_ID,
|
|
624
|
-
title: ( localize(
|
|
624
|
+
title: ( localize(6063, "Collapse All")),
|
|
625
625
|
f1: false,
|
|
626
626
|
icon: Codicon.collapseAll,
|
|
627
627
|
menu: {
|
|
@@ -97,7 +97,7 @@ let Repl = class Repl extends FilterViewPane {
|
|
|
97
97
|
super({
|
|
98
98
|
...options,
|
|
99
99
|
filterOptions: {
|
|
100
|
-
placeholder: ( localize(
|
|
100
|
+
placeholder: ( localize(6064, "Filter (e.g. text, !exclude, \\escape)")),
|
|
101
101
|
text: filterText,
|
|
102
102
|
history: JSON.parse(storageService.get(FILTER_HISTORY_STORAGE_KEY, StorageScope.WORKSPACE, '[]')),
|
|
103
103
|
}
|
|
@@ -496,7 +496,7 @@ let Repl = class Repl extends FilterViewPane {
|
|
|
496
496
|
await autoExpandElements(session.getReplElements());
|
|
497
497
|
}
|
|
498
498
|
const { total, filtered } = this.getFilterStats();
|
|
499
|
-
this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize(
|
|
499
|
+
this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize(6065, "Showing {0} of {1}", filtered, total)));
|
|
500
500
|
}, Repl_1.REFRESH_DELAY))
|
|
501
501
|
);
|
|
502
502
|
}
|
|
@@ -615,17 +615,17 @@ let Repl = class Repl extends FilterViewPane {
|
|
|
615
615
|
this._register(addStandardDisposableListener(this.replInputContainer, EventType.BLUR, () => this.replInputContainer.classList.remove('synthetic-focus')));
|
|
616
616
|
}
|
|
617
617
|
getAriaLabel() {
|
|
618
|
-
let ariaLabel = ( localize(
|
|
618
|
+
let ariaLabel = ( localize(6066, "Debug Console"));
|
|
619
619
|
if (!this.configurationService.getValue(AccessibilityVerbositySettingId.Debug)) {
|
|
620
620
|
return ariaLabel;
|
|
621
621
|
}
|
|
622
622
|
const keybinding = this.keybindingService.lookupKeybinding(AccessibilityCommandId.OpenAccessibilityHelp)?.getAriaLabel();
|
|
623
623
|
if (keybinding) {
|
|
624
|
-
ariaLabel = ( localize(
|
|
624
|
+
ariaLabel = ( localize(6067, "{0}, use ({1}) for accessibility help", ariaLabel, keybinding));
|
|
625
625
|
}
|
|
626
626
|
else {
|
|
627
627
|
ariaLabel = ( localize(
|
|
628
|
-
|
|
628
|
+
6068,
|
|
629
629
|
"{0}, run the command Open Accessibility Help which is currently not triggerable via keybinding.",
|
|
630
630
|
ariaLabel
|
|
631
631
|
));
|
|
@@ -665,7 +665,7 @@ let Repl = class Repl extends FilterViewPane {
|
|
|
665
665
|
},
|
|
666
666
|
renderOptions: {
|
|
667
667
|
after: {
|
|
668
|
-
contentText: ( localize(
|
|
668
|
+
contentText: ( localize(6069, "Please start a debug session to evaluate expressions")),
|
|
669
669
|
color: transparentForeground ? ( (transparentForeground.toString())) : undefined
|
|
670
670
|
}
|
|
671
671
|
}
|
|
@@ -778,7 +778,7 @@ class AcceptReplInputAction extends EditorAction {
|
|
|
778
778
|
constructor() {
|
|
779
779
|
super({
|
|
780
780
|
id: 'repl.action.acceptInput',
|
|
781
|
-
label: ( localize(
|
|
781
|
+
label: ( localize(6070, "Debug Console: Accept Input")),
|
|
782
782
|
alias: 'Debug Console: Accept Input',
|
|
783
783
|
precondition: CONTEXT_IN_DEBUG_REPL,
|
|
784
784
|
kbOpts: {
|
|
@@ -798,7 +798,7 @@ class FilterReplAction extends EditorAction {
|
|
|
798
798
|
constructor() {
|
|
799
799
|
super({
|
|
800
800
|
id: 'repl.action.filter',
|
|
801
|
-
label: ( localize(
|
|
801
|
+
label: ( localize(6071, "Debug Console: Focus Filter")),
|
|
802
802
|
alias: 'Debug Console: Focus Filter',
|
|
803
803
|
precondition: CONTEXT_IN_DEBUG_REPL,
|
|
804
804
|
kbOpts: {
|
|
@@ -817,7 +817,7 @@ class ReplCopyAllAction extends EditorAction {
|
|
|
817
817
|
constructor() {
|
|
818
818
|
super({
|
|
819
819
|
id: 'repl.action.copyAll',
|
|
820
|
-
label: ( localize(
|
|
820
|
+
label: ( localize(6072, "Debug: Console Copy All")),
|
|
821
821
|
alias: 'Debug Console Copy All',
|
|
822
822
|
precondition: CONTEXT_IN_DEBUG_REPL,
|
|
823
823
|
});
|
|
@@ -853,7 +853,7 @@ registerAction2(class extends ViewAction {
|
|
|
853
853
|
super({
|
|
854
854
|
id: selectReplCommandId,
|
|
855
855
|
viewId: REPL_VIEW_ID,
|
|
856
|
-
title: ( localize(
|
|
856
|
+
title: ( localize(6073, "Select Debug Console")),
|
|
857
857
|
f1: false,
|
|
858
858
|
menu: {
|
|
859
859
|
id: MenuId.ViewTitle,
|
|
@@ -885,9 +885,9 @@ registerAction2(class extends ViewAction {
|
|
|
885
885
|
super({
|
|
886
886
|
id: 'workbench.debug.panel.action.clearReplAction',
|
|
887
887
|
viewId: REPL_VIEW_ID,
|
|
888
|
-
title: ( localize2(
|
|
888
|
+
title: ( localize2(6074, 'Clear Console')),
|
|
889
889
|
metadata: {
|
|
890
|
-
description: ( localize2(
|
|
890
|
+
description: ( localize2(6075, 'Clears all program output from your debug REPL'))
|
|
891
891
|
},
|
|
892
892
|
f1: true,
|
|
893
893
|
icon: debugConsoleClearAll,
|
|
@@ -913,7 +913,7 @@ registerAction2(class extends ViewAction {
|
|
|
913
913
|
constructor() {
|
|
914
914
|
super({
|
|
915
915
|
id: 'debug.collapseRepl',
|
|
916
|
-
title: ( localize(
|
|
916
|
+
title: ( localize(6076, "Collapse All")),
|
|
917
917
|
viewId: REPL_VIEW_ID,
|
|
918
918
|
menu: {
|
|
919
919
|
id: MenuId.DebugConsoleContext,
|
|
@@ -931,7 +931,7 @@ registerAction2(class extends ViewAction {
|
|
|
931
931
|
constructor() {
|
|
932
932
|
super({
|
|
933
933
|
id: 'debug.replPaste',
|
|
934
|
-
title: ( localize(
|
|
934
|
+
title: ( localize(6077, "Paste")),
|
|
935
935
|
viewId: REPL_VIEW_ID,
|
|
936
936
|
precondition: ( (CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(State.Inactive)))),
|
|
937
937
|
menu: {
|
|
@@ -961,7 +961,7 @@ registerAction2(class extends ViewAction {
|
|
|
961
961
|
constructor() {
|
|
962
962
|
super({
|
|
963
963
|
id: 'workbench.debug.action.copyAll',
|
|
964
|
-
title: ( localize(
|
|
964
|
+
title: ( localize(6078, "Copy All")),
|
|
965
965
|
viewId: REPL_VIEW_ID,
|
|
966
966
|
menu: {
|
|
967
967
|
id: MenuId.DebugConsoleContext,
|
|
@@ -979,7 +979,7 @@ registerAction2(class extends Action2 {
|
|
|
979
979
|
constructor() {
|
|
980
980
|
super({
|
|
981
981
|
id: 'debug.replCopy',
|
|
982
|
-
title: ( localize(
|
|
982
|
+
title: ( localize(6079, "Copy")),
|
|
983
983
|
menu: {
|
|
984
984
|
id: MenuId.DebugConsoleContext,
|
|
985
985
|
group: '2_cutcopypaste',
|
|
@@ -44,56 +44,56 @@ class ReplAccessibilityHelpProvider extends Disposable {
|
|
|
44
44
|
provideContent() {
|
|
45
45
|
return [
|
|
46
46
|
( localize(
|
|
47
|
-
|
|
47
|
+
6116,
|
|
48
48
|
"The debug console is a Read-Eval-Print-Loop that allows you to evaluate expressions and run commands and can be focused with{0}.",
|
|
49
49
|
'<keybinding:workbench.panel.repl.view.focus>'
|
|
50
50
|
)),
|
|
51
51
|
( localize(
|
|
52
|
-
|
|
52
|
+
6117,
|
|
53
53
|
"The debug console output can be navigated to from the input field with the Focus Previous Widget command{0}.",
|
|
54
54
|
'<keybinding:widgetNavigation.focusPrevious>'
|
|
55
55
|
)),
|
|
56
56
|
( localize(
|
|
57
|
-
|
|
57
|
+
6118,
|
|
58
58
|
"The debug console input can be navigated to from the output with the Focus Next Widget command{0}.",
|
|
59
59
|
'<keybinding:widgetNavigation.focusNext>'
|
|
60
60
|
)),
|
|
61
61
|
( localize(
|
|
62
|
-
|
|
62
|
+
6119,
|
|
63
63
|
"The debug console output history can be navigated with the up and down arrow keys."
|
|
64
64
|
)),
|
|
65
65
|
( localize(
|
|
66
|
-
|
|
66
|
+
6120,
|
|
67
67
|
"The Open Accessible View command{0} will allow character by character navigation of the console output.",
|
|
68
68
|
'<keybinding:editor.action.accessibleView>'
|
|
69
69
|
)),
|
|
70
70
|
( localize(
|
|
71
|
-
|
|
71
|
+
6121,
|
|
72
72
|
"The Show Run and Debug view command{0} will open the Run and Debug view.",
|
|
73
73
|
'<keybinding:workbench.view.debug>'
|
|
74
74
|
)),
|
|
75
75
|
AccessibilityHelpNLS.setBreakpoint,
|
|
76
76
|
( localize(
|
|
77
|
-
|
|
77
|
+
6122,
|
|
78
78
|
"The setting `debug.expandLazyVariables` controls whether variables are evaluated automatically. This is enabled by default when using a screen reader."
|
|
79
79
|
)),
|
|
80
80
|
( localize(
|
|
81
|
-
|
|
81
|
+
6123,
|
|
82
82
|
"The Debug: Continue command{0} will continue execution until the next breakpoint.",
|
|
83
83
|
'<keybinding:workbench.action.debug.continue>'
|
|
84
84
|
)),
|
|
85
85
|
( localize(
|
|
86
|
-
|
|
86
|
+
6124,
|
|
87
87
|
"The Debug: Step Into command{0} will step into the next function call.",
|
|
88
88
|
'<keybinding:workbench.action.debug.stepInto>'
|
|
89
89
|
)),
|
|
90
90
|
( localize(
|
|
91
|
-
|
|
91
|
+
6125,
|
|
92
92
|
"The Debug: Step Over command{0} will step over the current function call.",
|
|
93
93
|
'<keybinding:workbench.action.debug.stepOver>'
|
|
94
94
|
)),
|
|
95
95
|
( localize(
|
|
96
|
-
|
|
96
|
+
6126,
|
|
97
97
|
"The Debug: Step Out command{0} will step out of the current function call.",
|
|
98
98
|
'<keybinding:workbench.action.debug.stepOut>'
|
|
99
99
|
)),
|