@codingame/monaco-vscode-debug-service-override 28.4.0 → 29.0.0
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 +104 -104
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugChatIntegration.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.d.ts +6 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +34 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +25 -25
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +20 -20
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +42 -42
- package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +15 -15
- 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 +36 -36
- 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 +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +43 -43
- 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
|
@@ -183,10 +183,10 @@ registerAction2(class extends Action2 {
|
|
|
183
183
|
title: {
|
|
184
184
|
value: DEBUG_CONFIGURE_LABEL,
|
|
185
185
|
original: "Open 'launch.json'",
|
|
186
|
-
mnemonicTitle: ( localize(
|
|
186
|
+
mnemonicTitle: ( localize(8447, "Open &&Configurations"))
|
|
187
187
|
},
|
|
188
188
|
metadata: {
|
|
189
|
-
description: ( localize2(
|
|
189
|
+
description: ( localize2(8448, "Opens the file used to configure how your program is debugged"))
|
|
190
190
|
},
|
|
191
191
|
f1: true,
|
|
192
192
|
icon: debugConfigure,
|
|
@@ -227,7 +227,7 @@ registerAction2(class extends Action2 {
|
|
|
227
227
|
const picked = await quickInputService.pick(picks, {
|
|
228
228
|
activeItem: picks[0],
|
|
229
229
|
placeHolder: ( localize(
|
|
230
|
-
|
|
230
|
+
8449,
|
|
231
231
|
"Select a workspace folder to create a launch.json file in or add it to the workspace config file"
|
|
232
232
|
))
|
|
233
233
|
});
|
|
@@ -255,7 +255,7 @@ registerAction2(class extends Action2 {
|
|
|
255
255
|
constructor() {
|
|
256
256
|
super({
|
|
257
257
|
id: "debug.toggleReplIgnoreFocus",
|
|
258
|
-
title: ( localize(
|
|
258
|
+
title: ( localize(8450, "Debug Console")),
|
|
259
259
|
toggled: ( ContextKeyExpr.has(`view.${REPL_VIEW_ID}.visible`)),
|
|
260
260
|
menu: [{
|
|
261
261
|
id: ViewsSubMenu,
|
|
@@ -279,7 +279,7 @@ MenuRegistry.appendMenuItem(MenuId.ViewContainerTitle, {
|
|
|
279
279
|
order: 10,
|
|
280
280
|
command: {
|
|
281
281
|
id: SELECT_AND_START_ID,
|
|
282
|
-
title: ( localize(
|
|
282
|
+
title: ( localize(8451, "Start Additional Session"))
|
|
283
283
|
}
|
|
284
284
|
});
|
|
285
285
|
|
|
@@ -64,7 +64,7 @@ const disassemblyNotAvailable = {
|
|
|
64
64
|
address: 0n,
|
|
65
65
|
instruction: {
|
|
66
66
|
address: "-1",
|
|
67
|
-
instruction: ( localize(
|
|
67
|
+
instruction: ( localize(8452, "Disassembly not available."))
|
|
68
68
|
}
|
|
69
69
|
};
|
|
70
70
|
let DisassemblyView = class DisassemblyView extends EditorPane {
|
|
@@ -204,7 +204,7 @@ let DisassemblyView = class DisassemblyView extends EditorPane {
|
|
|
204
204
|
return row;
|
|
205
205
|
}
|
|
206
206
|
}, {
|
|
207
|
-
label: ( localize(
|
|
207
|
+
label: ( localize(8453, "instructions")),
|
|
208
208
|
tooltip: "",
|
|
209
209
|
weight: 0.3,
|
|
210
210
|
templateId: InstructionRenderer.TEMPLATE_ID,
|
|
@@ -824,7 +824,7 @@ let InstructionRenderer = class InstructionRenderer extends Disposable {
|
|
|
824
824
|
};
|
|
825
825
|
this.editorService.openEditor({
|
|
826
826
|
resource: sourceURI,
|
|
827
|
-
description: ( localize(
|
|
827
|
+
description: ( localize(8454, "from disassembly")),
|
|
828
828
|
options: {
|
|
829
829
|
preserveFocus: false,
|
|
830
830
|
selection: selection,
|
|
@@ -859,18 +859,18 @@ let InstructionRenderer = class InstructionRenderer extends Disposable {
|
|
|
859
859
|
InstructionRenderer = InstructionRenderer_1 = ( __decorate([( __param(1, IThemeService)), ( __param(2, IEditorService)), ( __param(3, ITextModelService)), ( __param(4, IUriIdentityService)), ( __param(5, ILogService))], InstructionRenderer));
|
|
860
860
|
class AccessibilityProvider {
|
|
861
861
|
getWidgetAriaLabel() {
|
|
862
|
-
return localize(
|
|
862
|
+
return localize(8455, "Disassembly View");
|
|
863
863
|
}
|
|
864
864
|
getAriaLabel(element) {
|
|
865
865
|
let label = "";
|
|
866
866
|
const instruction = element.instruction;
|
|
867
867
|
if (instruction.address !== "-1") {
|
|
868
|
-
label += `${( localize(
|
|
868
|
+
label += `${( localize(8456, "Address"))}: ${instruction.address}`;
|
|
869
869
|
}
|
|
870
870
|
if (instruction.instructionBytes) {
|
|
871
|
-
label += `, ${( localize(
|
|
871
|
+
label += `, ${( localize(8457, "Bytes"))}: ${instruction.instructionBytes}`;
|
|
872
872
|
}
|
|
873
|
-
label += `, ${( localize(
|
|
873
|
+
label += `, ${( localize(8458, "Instruction"))}: ${instruction.instruction}`;
|
|
874
874
|
return label;
|
|
875
875
|
}
|
|
876
876
|
}
|
|
@@ -606,7 +606,7 @@ class LoadedScriptsRenderer {
|
|
|
606
606
|
if (element instanceof RootFolderTreeItem) {
|
|
607
607
|
options.fileKind = FileKind.ROOT_FOLDER;
|
|
608
608
|
} else if (element instanceof SessionTreeItem) {
|
|
609
|
-
options.title = ( localize(
|
|
609
|
+
options.title = ( localize(8470, "Debug Session"));
|
|
610
610
|
options.hideIcon = true;
|
|
611
611
|
} else if (element instanceof BaseTreeItem) {
|
|
612
612
|
const src = element.getSource();
|
|
@@ -626,19 +626,19 @@ class LoadedScriptsRenderer {
|
|
|
626
626
|
}
|
|
627
627
|
class LoadedSciptsAccessibilityProvider {
|
|
628
628
|
getWidgetAriaLabel() {
|
|
629
|
-
return localize(
|
|
629
|
+
return localize(8471, "Debug Loaded Scripts");
|
|
630
630
|
}
|
|
631
631
|
getAriaLabel(element) {
|
|
632
632
|
if (element instanceof RootFolderTreeItem) {
|
|
633
|
-
return localize(
|
|
633
|
+
return localize(8472, "Workspace folder {0}, loaded script, debug", element.getLabel());
|
|
634
634
|
}
|
|
635
635
|
if (element instanceof SessionTreeItem) {
|
|
636
|
-
return localize(
|
|
636
|
+
return localize(8473, "Session {0}, loaded script, debug", element.getLabel());
|
|
637
637
|
}
|
|
638
638
|
if (element.hasChildren()) {
|
|
639
|
-
return localize(
|
|
639
|
+
return localize(8474, "Folder {0}, loaded script, debug", element.getLabel());
|
|
640
640
|
} else {
|
|
641
|
-
return localize(
|
|
641
|
+
return localize(8475, "{0}, loaded script, debug", element.getLabel());
|
|
642
642
|
}
|
|
643
643
|
}
|
|
644
644
|
}
|
|
@@ -665,7 +665,7 @@ registerAction2(class Collapse extends ViewAction {
|
|
|
665
665
|
super({
|
|
666
666
|
id: "loadedScripts.collapse",
|
|
667
667
|
viewId: LOADED_SCRIPTS_VIEW_ID,
|
|
668
|
-
title: ( localize(
|
|
668
|
+
title: ( localize(8476, "Collapse All")),
|
|
669
669
|
f1: false,
|
|
670
670
|
icon: Codicon.collapseAll,
|
|
671
671
|
menu: {
|
|
@@ -202,7 +202,7 @@ let RawDebugSession = class RawDebugSession {
|
|
|
202
202
|
}
|
|
203
203
|
async start() {
|
|
204
204
|
if (!this.debugAdapter) {
|
|
205
|
-
return Promise.reject(( new Error(( localize(
|
|
205
|
+
return Promise.reject(( new Error(( localize(8477, "No debug adapter, can not start debug session.")))));
|
|
206
206
|
}
|
|
207
207
|
await this.debugAdapter.startSession();
|
|
208
208
|
this.startTime = ( new Date()).getTime();
|
|
@@ -535,10 +535,10 @@ let RawDebugSession = class RawDebugSession {
|
|
|
535
535
|
} = await this.dialogSerivce.confirm({
|
|
536
536
|
type: Severity.Warning,
|
|
537
537
|
message: ( localize(
|
|
538
|
-
|
|
538
|
+
8478,
|
|
539
539
|
"The debugger needs to open a new tab or window for the debuggee but the browser prevented this. You must give permission to continue."
|
|
540
540
|
)),
|
|
541
|
-
primaryButton: ( localize(
|
|
541
|
+
primaryButton: ( localize(8479, "&&Continue"))
|
|
542
542
|
});
|
|
543
543
|
if (confirmed) {
|
|
544
544
|
result = await this.launchVsCode(request.arguments);
|
|
@@ -628,7 +628,7 @@ let RawDebugSession = class RawDebugSession {
|
|
|
628
628
|
if (this.inShutdown) {
|
|
629
629
|
completeDispatch(undefined);
|
|
630
630
|
} else {
|
|
631
|
-
errorDispatch(( new Error(( localize(
|
|
631
|
+
errorDispatch(( new Error(( localize(8480, "No debugger available found. Can not send '{0}'.", command)))));
|
|
632
632
|
}
|
|
633
633
|
return;
|
|
634
634
|
}
|
|
@@ -665,7 +665,7 @@ let RawDebugSession = class RawDebugSession {
|
|
|
665
665
|
const userMessage = error ? formatPII(error.format, false, error.variables) : errorMessage;
|
|
666
666
|
const url = error?.url;
|
|
667
667
|
if (error && url) {
|
|
668
|
-
const label = error.urlLabel ? error.urlLabel : ( localize(
|
|
668
|
+
const label = error.urlLabel ? error.urlLabel : ( localize(8481, "More Info"));
|
|
669
669
|
const uri = ( URI.parse(url));
|
|
670
670
|
const actionId = uri.scheme === Schemas.command ? "debug.moreInfo.command" : "debug.moreInfo";
|
|
671
671
|
return createErrorWithActions(userMessage, [toAction({
|
|
@@ -39,106 +39,106 @@ class ReplAccessibilityHelpProvider extends Disposable {
|
|
|
39
39
|
}
|
|
40
40
|
provideContent() {
|
|
41
41
|
const content = [];
|
|
42
|
-
content.push(( localize(
|
|
42
|
+
content.push(( localize(8500, "Accessibility Help: Debug Console Filter")));
|
|
43
43
|
content.push(( localize(
|
|
44
|
-
|
|
44
|
+
8501,
|
|
45
45
|
"You are in the Debug Console filter input. This is a filter that instantly hides console messages that do not match your filter, showing only the messages you want to see."
|
|
46
46
|
)));
|
|
47
47
|
content.push("");
|
|
48
|
-
content.push(( localize(
|
|
49
|
-
content.push(( localize(
|
|
48
|
+
content.push(( localize(8502, "Current Filter Status:")));
|
|
49
|
+
content.push(( localize(8503, "You are filtering the console output.")));
|
|
50
50
|
content.push("");
|
|
51
|
-
content.push(( localize(
|
|
51
|
+
content.push(( localize(8504, "Inside the Filter Input (What It Does):")));
|
|
52
52
|
content.push(( localize(
|
|
53
|
-
|
|
53
|
+
8505,
|
|
54
54
|
"While you are in the filter input, your focus stays in the field. You can type, edit, or adjust your filter without leaving the input. As you type, the console instantly updates to show only messages matching your filter."
|
|
55
55
|
)));
|
|
56
56
|
content.push("");
|
|
57
|
-
content.push(( localize(
|
|
57
|
+
content.push(( localize(8506, "What Happens When You Filter:")));
|
|
58
58
|
content.push(( localize(
|
|
59
|
-
|
|
59
|
+
8507,
|
|
60
60
|
"Each time you change the filter text, the console instantly regenerates to show only matching messages. Your screen reader announces how many messages are now visible. This is live feedback: text searches console output, variable values, and log messages."
|
|
61
61
|
)));
|
|
62
62
|
content.push("");
|
|
63
|
-
content.push(( localize(
|
|
63
|
+
content.push(( localize(8508, "Focus Behavior (Important):")));
|
|
64
64
|
content.push(( localize(
|
|
65
|
-
|
|
65
|
+
8509,
|
|
66
66
|
"Your focus stays in the filter input while the console updates in the background. This is intentional, so you can keep typing without losing your place."
|
|
67
67
|
)));
|
|
68
68
|
content.push(( localize(
|
|
69
|
-
|
|
69
|
+
8510,
|
|
70
70
|
"If you want to review the filtered console output, press Down Arrow to move focus from the filter into the console messages above."
|
|
71
71
|
)));
|
|
72
72
|
content.push(( localize(
|
|
73
|
-
|
|
73
|
+
8511,
|
|
74
74
|
"Important: The console input area is at the bottom of the console, separate from the filter. To evaluate expressions, navigate to the console input (after the filtered messages) and type your expression."
|
|
75
75
|
)));
|
|
76
76
|
content.push("");
|
|
77
|
-
content.push(( localize(
|
|
77
|
+
content.push(( localize(8512, "Distinguishing Filter from Console Input:")));
|
|
78
78
|
content.push(( localize(
|
|
79
|
-
|
|
79
|
+
8513,
|
|
80
80
|
"The filter input is where you are now. It hides or shows messages without running code."
|
|
81
81
|
)));
|
|
82
82
|
content.push(( localize(
|
|
83
|
-
|
|
83
|
+
8514,
|
|
84
84
|
"The console input is at the bottom of the console, after all displayed messages. That is where you type and press Enter to evaluate expressions during debugging."
|
|
85
85
|
)));
|
|
86
86
|
content.push(( localize(
|
|
87
|
-
|
|
87
|
+
8515,
|
|
88
88
|
"To switch to the console input and evaluate an expression, use {0} to focus the console input.",
|
|
89
89
|
"<keybinding:workbench.panel.repl.view.focus>"
|
|
90
90
|
)));
|
|
91
91
|
content.push("");
|
|
92
|
-
content.push(( localize(
|
|
93
|
-
content.push(( localize(
|
|
92
|
+
content.push(( localize(8516, "Filter Syntax and Patterns:")));
|
|
93
|
+
content.push(( localize(8517, "- Type text: Shows only messages containing that text.")));
|
|
94
94
|
content.push(( localize(
|
|
95
|
-
|
|
95
|
+
8518,
|
|
96
96
|
"- !text (exclude): Hides messages containing the text, showing all others."
|
|
97
97
|
)));
|
|
98
98
|
content.push("");
|
|
99
|
-
content.push(( localize(
|
|
100
|
-
content.push(( localize(
|
|
101
|
-
content.push(( localize(
|
|
102
|
-
content.push(( localize(
|
|
99
|
+
content.push(( localize(8519, "Keyboard Navigation Summary:")));
|
|
100
|
+
content.push(( localize(8520, "- Down Arrow: Move focus from filter into the console output.")));
|
|
101
|
+
content.push(( localize(8521, "- Tab: Move to other console controls if available.")));
|
|
102
|
+
content.push(( localize(8522, "- Escape: Clear the filter or close the filter.")));
|
|
103
103
|
content.push(( localize(
|
|
104
|
-
|
|
104
|
+
8523,
|
|
105
105
|
"- {0}: Focus the console input to evaluate expressions.",
|
|
106
106
|
"<keybinding:workbench.panel.repl.view.focus>"
|
|
107
107
|
)));
|
|
108
108
|
content.push("");
|
|
109
109
|
content.push(( localize(
|
|
110
|
-
|
|
110
|
+
8524,
|
|
111
111
|
"Settings You Can Adjust ({0} opens Settings):",
|
|
112
112
|
"<keybinding:workbench.action.openSettings>"
|
|
113
113
|
)));
|
|
114
|
-
content.push(( localize(
|
|
114
|
+
content.push(( localize(8525, "These settings affect the Debug Console.")));
|
|
115
115
|
content.push(( localize(
|
|
116
|
-
|
|
116
|
+
8526,
|
|
117
117
|
"- `accessibility.verbosity.find`: Controls whether the filter input announces the Accessibility Help hint."
|
|
118
118
|
)));
|
|
119
119
|
content.push(( localize(
|
|
120
|
-
|
|
120
|
+
8527,
|
|
121
121
|
"- `debug.console.closeOnEnd`: Automatically close the Debug Console when the debugging session ends."
|
|
122
122
|
)));
|
|
123
|
-
content.push(( localize(
|
|
124
|
-
content.push(( localize(
|
|
125
|
-
content.push(( localize(
|
|
123
|
+
content.push(( localize(8528, "- `debug.console.fontSize`: Font size in the console.")));
|
|
124
|
+
content.push(( localize(8529, "- `debug.console.fontFamily`: Font family in the console.")));
|
|
125
|
+
content.push(( localize(8530, "- `debug.console.wordWrap`: Wrap lines in the console.")));
|
|
126
126
|
content.push(( localize(
|
|
127
|
-
|
|
127
|
+
8531,
|
|
128
128
|
"- `debug.console.historySuggestions`: Suggest previously typed input."
|
|
129
129
|
)));
|
|
130
130
|
content.push(( localize(
|
|
131
|
-
|
|
131
|
+
8532,
|
|
132
132
|
"- `debug.console.collapseIdenticalLines`: Collapse repeated messages with a count."
|
|
133
133
|
)));
|
|
134
134
|
content.push(( localize(
|
|
135
|
-
|
|
135
|
+
8533,
|
|
136
136
|
"- `debug.console.maximumLines`: Maximum number of messages to keep in the console."
|
|
137
137
|
)));
|
|
138
138
|
content.push("");
|
|
139
|
-
content.push(( localize(
|
|
139
|
+
content.push(( localize(8534, "Closing:")));
|
|
140
140
|
content.push(( localize(
|
|
141
|
-
|
|
141
|
+
8535,
|
|
142
142
|
"Press Escape to clear the filter, or close the Debug Console. Your filter text is preserved if you reopen the console."
|
|
143
143
|
)));
|
|
144
144
|
return content.join("\n");
|
|
@@ -54,62 +54,62 @@ let RunAndDebugAccessibilityHelpProvider = class RunAndDebugAccessibilityHelpPro
|
|
|
54
54
|
}
|
|
55
55
|
provideContent() {
|
|
56
56
|
return [( localize(
|
|
57
|
-
|
|
57
|
+
8541,
|
|
58
58
|
"The Show Run and Debug view command{0} will open the current view.",
|
|
59
59
|
"<keybinding:workbench.view.debug>"
|
|
60
60
|
)), ( localize(
|
|
61
|
-
|
|
61
|
+
8542,
|
|
62
62
|
"The Debug: Start Debugging command{0} will start a debug session.",
|
|
63
63
|
"<keybinding:workbench.action.debug.start>"
|
|
64
64
|
)), ( localize(
|
|
65
|
-
|
|
65
|
+
8543,
|
|
66
66
|
"Access debug output and evaluate expressions in the debug console, which can be focused with{0}.",
|
|
67
67
|
"<keybinding:workbench.panel.repl.view.focus>"
|
|
68
|
-
)), AccessibilityHelpNLS.setBreakpoint, AccessibilityHelpNLS.addToWatch, ( localize(
|
|
69
|
-
|
|
68
|
+
)), AccessibilityHelpNLS.setBreakpoint, AccessibilityHelpNLS.addToWatch, ( localize(8544, "Once debugging, the following commands will be available:")), ( localize(
|
|
69
|
+
8545,
|
|
70
70
|
"- Debug: Restart Debugging command{0} will restart the current debug session.",
|
|
71
71
|
"<keybinding:workbench.action.debug.restart>"
|
|
72
72
|
)), ( localize(
|
|
73
|
-
|
|
73
|
+
8546,
|
|
74
74
|
"- Debug: Stop Debugging command{0} will stop the current debugging session.",
|
|
75
75
|
"<keybinding:workbench.action.debug.stop>"
|
|
76
76
|
)), ( localize(
|
|
77
|
-
|
|
77
|
+
8547,
|
|
78
78
|
"- Debug: Continue command{0} will continue execution until the next breakpoint.",
|
|
79
79
|
"<keybinding:workbench.action.debug.continue>"
|
|
80
80
|
)), ( localize(
|
|
81
|
-
|
|
81
|
+
8548,
|
|
82
82
|
"- Debug: Step Into command{0} will step into the next function call.",
|
|
83
83
|
"<keybinding:workbench.action.debug.stepInto>"
|
|
84
84
|
)), ( localize(
|
|
85
|
-
|
|
85
|
+
8549,
|
|
86
86
|
"- Debug: Step Over command{0} will step over the current function call.",
|
|
87
87
|
"<keybinding:workbench.action.debug.stepOver>"
|
|
88
88
|
)), ( localize(
|
|
89
|
-
|
|
89
|
+
8550,
|
|
90
90
|
"- Debug: Step Out command{0} will step out of the current function call.",
|
|
91
91
|
"<keybinding:workbench.action.debug.stepOut>"
|
|
92
92
|
)), ( localize(
|
|
93
|
-
|
|
93
|
+
8551,
|
|
94
94
|
"The debug viewlet is comprised of several views that can be focused with the following commands or navigated to via tab then arrow keys:"
|
|
95
95
|
)), ( localize(
|
|
96
|
-
|
|
96
|
+
8552,
|
|
97
97
|
"- Debug: Focus Breakpoints View command{0} will focus the breakpoints view.",
|
|
98
98
|
"<keybinding:workbench.debug.action.focusBreakpointsView>"
|
|
99
99
|
)), ( localize(
|
|
100
|
-
|
|
100
|
+
8553,
|
|
101
101
|
"- Debug: Focus Call Stack View command{0} will focus the call stack view.",
|
|
102
102
|
"<keybinding:workbench.debug.action.focusCallStackView>"
|
|
103
103
|
)), ( localize(
|
|
104
|
-
|
|
104
|
+
8554,
|
|
105
105
|
"- Debug: Focus Variables View command{0} will focus the variables view.",
|
|
106
106
|
"<keybinding:workbench.debug.action.focusVariablesView>"
|
|
107
107
|
)), ( localize(
|
|
108
|
-
|
|
108
|
+
8555,
|
|
109
109
|
"- Debug: Focus Watch View command{0} will focus the watch view.",
|
|
110
110
|
"<keybinding:workbench.debug.action.focusWatchView>"
|
|
111
111
|
)), ( localize(
|
|
112
|
-
|
|
112
|
+
8556,
|
|
113
113
|
"The setting {0} controls whether watch variable changes are announced.",
|
|
114
114
|
"accessibility.debugWatchVariableAnnouncements"
|
|
115
115
|
))].join("\n");
|
|
@@ -27,7 +27,7 @@ const STATUS_BAR_DEBUGGING_BACKGROUND = registerColor("statusBar.debuggingBackgr
|
|
|
27
27
|
hcDark: "#BA592C",
|
|
28
28
|
hcLight: "#B5200D"
|
|
29
29
|
}, ( localize(
|
|
30
|
-
|
|
30
|
+
8557,
|
|
31
31
|
"Status bar background color when a program is being debugged. The status bar is shown in the bottom of the window"
|
|
32
32
|
)));
|
|
33
33
|
const STATUS_BAR_DEBUGGING_FOREGROUND = registerColor("statusBar.debuggingForeground", {
|
|
@@ -36,14 +36,14 @@ const STATUS_BAR_DEBUGGING_FOREGROUND = registerColor("statusBar.debuggingForegr
|
|
|
36
36
|
hcDark: STATUS_BAR_FOREGROUND,
|
|
37
37
|
hcLight: "#FFFFFF"
|
|
38
38
|
}, ( localize(
|
|
39
|
-
|
|
39
|
+
8558,
|
|
40
40
|
"Status bar foreground color when a program is being debugged. The status bar is shown in the bottom of the window"
|
|
41
41
|
)));
|
|
42
42
|
const STATUS_BAR_DEBUGGING_BORDER = registerColor("statusBar.debuggingBorder", STATUS_BAR_BORDER, ( localize(
|
|
43
|
-
|
|
43
|
+
8559,
|
|
44
44
|
"Status bar border color separating to the sidebar and editor when a program is being debugged. The status bar is shown in the bottom of the window"
|
|
45
45
|
)));
|
|
46
|
-
const COMMAND_CENTER_DEBUGGING_BACKGROUND = registerColor("commandCenter.debuggingBackground", ( transparent(STATUS_BAR_DEBUGGING_BACKGROUND, 0.258)), ( localize(
|
|
46
|
+
const COMMAND_CENTER_DEBUGGING_BACKGROUND = registerColor("commandCenter.debuggingBackground", ( transparent(STATUS_BAR_DEBUGGING_BACKGROUND, 0.258)), ( localize(8560, "Command center background color when a program is being debugged")), true);
|
|
47
47
|
let StatusBarColorProvider = class StatusBarColorProvider {
|
|
48
48
|
set enabled(enabled) {
|
|
49
49
|
if (enabled === !!this.disposable) {
|
|
@@ -320,7 +320,7 @@ let WatchExpressionsRenderer = class WatchExpressionsRenderer extends AbstractEx
|
|
|
320
320
|
if (settingValue) {
|
|
321
321
|
return {
|
|
322
322
|
initialValue: expression.value,
|
|
323
|
-
ariaLabel: ( localize(
|
|
323
|
+
ariaLabel: ( localize(8569, "Type new value")),
|
|
324
324
|
onFinish: async (value, success) => {
|
|
325
325
|
if (success && value) {
|
|
326
326
|
const focusedFrame = this.debugService.getViewModel().focusedStackFrame;
|
|
@@ -334,8 +334,8 @@ let WatchExpressionsRenderer = class WatchExpressionsRenderer extends AbstractEx
|
|
|
334
334
|
}
|
|
335
335
|
return {
|
|
336
336
|
initialValue: expression.name ? expression.name : "",
|
|
337
|
-
ariaLabel: ( localize(
|
|
338
|
-
placeholder: ( localize(
|
|
337
|
+
ariaLabel: ( localize(8570, "Type watch expression")),
|
|
338
|
+
placeholder: ( localize(8571, "Expression to watch")),
|
|
339
339
|
onFinish: (value, success) => {
|
|
340
340
|
if (success && value) {
|
|
341
341
|
this.debugService.renameWatchExpression(expression.getId(), value);
|
|
@@ -431,13 +431,13 @@ async function getContextForWatchExpressionMenuWithDataAccess(parentContext, exp
|
|
|
431
431
|
}
|
|
432
432
|
class WatchExpressionsAccessibilityProvider {
|
|
433
433
|
getWidgetAriaLabel() {
|
|
434
|
-
return localize(
|
|
434
|
+
return localize(8572, "Debug Watch Expressions");
|
|
435
435
|
}
|
|
436
436
|
getAriaLabel(element) {
|
|
437
437
|
if (element instanceof Expression) {
|
|
438
|
-
return localize(
|
|
438
|
+
return localize(8573, "{0}, value {1}", element.name, element.value);
|
|
439
439
|
}
|
|
440
|
-
return localize(
|
|
440
|
+
return localize(8574, "{0}, value {1}", element.name, element.value);
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
443
|
class WatchExpressionsDragAndDrop {
|
|
@@ -528,7 +528,7 @@ registerAction2(class Collapse extends ViewAction {
|
|
|
528
528
|
super({
|
|
529
529
|
id: "watch.collapse",
|
|
530
530
|
viewId: WATCH_VIEW_ID,
|
|
531
|
-
title: ( localize(
|
|
531
|
+
title: ( localize(8575, "Collapse All")),
|
|
532
532
|
f1: false,
|
|
533
533
|
icon: Codicon.collapseAll,
|
|
534
534
|
precondition: CONTEXT_WATCH_EXPRESSIONS_EXIST,
|
|
@@ -545,7 +545,7 @@ registerAction2(class Collapse extends ViewAction {
|
|
|
545
545
|
}
|
|
546
546
|
});
|
|
547
547
|
const ADD_WATCH_ID = "workbench.debug.viewlet.action.addWatchExpression";
|
|
548
|
-
const ADD_WATCH_LABEL = ( localize(
|
|
548
|
+
const ADD_WATCH_LABEL = ( localize(8576, "Add Expression"));
|
|
549
549
|
registerAction2(class AddWatchExpressionAction extends Action2 {
|
|
550
550
|
constructor() {
|
|
551
551
|
super({
|
|
@@ -566,7 +566,7 @@ registerAction2(class AddWatchExpressionAction extends Action2 {
|
|
|
566
566
|
}
|
|
567
567
|
});
|
|
568
568
|
const REMOVE_WATCH_EXPRESSIONS_COMMAND_ID = "workbench.debug.viewlet.action.removeAllWatchExpressions";
|
|
569
|
-
const REMOVE_WATCH_EXPRESSIONS_LABEL = ( localize(
|
|
569
|
+
const REMOVE_WATCH_EXPRESSIONS_LABEL = ( localize(8577, "Remove All Expressions"));
|
|
570
570
|
registerAction2(class RemoveAllWatchExpressionsAction extends Action2 {
|
|
571
571
|
constructor() {
|
|
572
572
|
super({
|
|
@@ -592,7 +592,7 @@ registerAction2(class CopyExpression extends ViewAction {
|
|
|
592
592
|
constructor() {
|
|
593
593
|
super({
|
|
594
594
|
id: COPY_WATCH_EXPRESSION_COMMAND_ID,
|
|
595
|
-
title: ( localize(
|
|
595
|
+
title: ( localize(8578, "Copy Expression")),
|
|
596
596
|
f1: false,
|
|
597
597
|
viewId: WATCH_VIEW_ID,
|
|
598
598
|
precondition: CONTEXT_WATCH_EXPRESSIONS_EXIST,
|
|
@@ -34,7 +34,7 @@ let WelcomeView = class WelcomeView extends ViewPane {
|
|
|
34
34
|
this.ID = "workbench.debug.welcome";
|
|
35
35
|
}
|
|
36
36
|
static {
|
|
37
|
-
this.LABEL = ( localize2(
|
|
37
|
+
this.LABEL = ( localize2(8579, "Run"));
|
|
38
38
|
}
|
|
39
39
|
constructor(
|
|
40
40
|
options,
|
|
@@ -121,7 +121,7 @@ WelcomeView = ( __decorate([( __param(1, IThemeService)), ( __param(2, IKeybindi
|
|
|
121
121
|
const viewsRegistry = ( Registry.as(Extensions.ViewsRegistry));
|
|
122
122
|
viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
|
|
123
123
|
content: ( localize(
|
|
124
|
-
|
|
124
|
+
8580,
|
|
125
125
|
"[Open a file](command:{0}) which can be debugged or run.",
|
|
126
126
|
OpenFileAction.ID
|
|
127
127
|
)),
|
|
@@ -130,14 +130,14 @@ viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
|
|
|
130
130
|
});
|
|
131
131
|
let debugKeybindingLabel = "";
|
|
132
132
|
viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
|
|
133
|
-
content: `[${( localize(
|
|
133
|
+
content: `[${( localize(8581, "Run and Debug"))}${debugKeybindingLabel}](command:${DEBUG_START_COMMAND_ID})`,
|
|
134
134
|
when: CONTEXT_DEBUGGERS_AVAILABLE,
|
|
135
135
|
group: ViewContentGroups.Debug,
|
|
136
136
|
order: 1
|
|
137
137
|
});
|
|
138
138
|
viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
|
|
139
139
|
content: ( localize(
|
|
140
|
-
|
|
140
|
+
8582,
|
|
141
141
|
"To customize Run and Debug [create a launch.json file]({0}).",
|
|
142
142
|
`${( createCommandUri(DEBUG_CONFIGURE_COMMAND_ID, {
|
|
143
143
|
addNew: true
|
|
@@ -148,7 +148,7 @@ viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
|
|
|
148
148
|
});
|
|
149
149
|
viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
|
|
150
150
|
content: ( localize(
|
|
151
|
-
|
|
151
|
+
8583,
|
|
152
152
|
"To customize Run and Debug, [open a folder]({0}) and create a launch.json file.",
|
|
153
153
|
(createCommandUri(OpenFolderAction.ID).toString())
|
|
154
154
|
)),
|
|
@@ -157,7 +157,7 @@ viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
|
|
|
157
157
|
});
|
|
158
158
|
viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
|
|
159
159
|
content: ( localize(
|
|
160
|
-
|
|
160
|
+
8584,
|
|
161
161
|
"All debug extensions are disabled. Enable a debug extension or install a new one from the Marketplace."
|
|
162
162
|
)),
|
|
163
163
|
when: ( CONTEXT_DEBUG_EXTENSION_AVAILABLE.toNegated()),
|
|
@@ -63,12 +63,12 @@ let DebugContentProvider = class DebugContentProvider extends Disposable {
|
|
|
63
63
|
session = this.debugService.getViewModel().focusedSession;
|
|
64
64
|
}
|
|
65
65
|
if (!session) {
|
|
66
|
-
return Promise.reject(( new ErrorNoTelemetry(( localize(
|
|
66
|
+
return Promise.reject(( new ErrorNoTelemetry(( localize(8651, "Unable to resolve the resource without a debug session")))));
|
|
67
67
|
}
|
|
68
68
|
const createErrModel = errMsg => {
|
|
69
69
|
this.debugService.sourceIsNotAvailable(resource);
|
|
70
70
|
const languageSelection = this.languageService.createById(PLAINTEXT_LANGUAGE_ID);
|
|
71
|
-
const message = errMsg ? ( localize(
|
|
71
|
+
const message = errMsg ? ( localize(8652, "Could not load source '{0}': {1}.", resource.path, errMsg)) : ( localize(8653, "Could not load source '{0}'.", resource.path));
|
|
72
72
|
return this.modelService.createModel(message, languageSelection, resource);
|
|
73
73
|
};
|
|
74
74
|
return session.loadSource(resource).then(response => {
|
|
@@ -31,19 +31,19 @@ let DebugLifecycle = class DebugLifecycle {
|
|
|
31
31
|
let message;
|
|
32
32
|
if (numSessions === 1) {
|
|
33
33
|
message = ( localize(
|
|
34
|
-
|
|
34
|
+
8654,
|
|
35
35
|
"There is an active debug session, are you sure you want to stop it?"
|
|
36
36
|
));
|
|
37
37
|
} else {
|
|
38
38
|
message = ( localize(
|
|
39
|
-
|
|
39
|
+
8655,
|
|
40
40
|
"There are active debug sessions, are you sure you want to stop them?"
|
|
41
41
|
));
|
|
42
42
|
}
|
|
43
43
|
const res = await this.dialogService.confirm({
|
|
44
44
|
message,
|
|
45
45
|
type: "warning",
|
|
46
|
-
primaryButton: ( localize(
|
|
46
|
+
primaryButton: ( localize(8656, "&&Stop Debugging"))
|
|
47
47
|
});
|
|
48
48
|
return !res.confirmed;
|
|
49
49
|
}
|