@codingame/monaco-vscode-debug-service-override 10.0.0 → 10.0.2
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 +1 -1
- 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/debugActionViewItems.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +11 -11
- 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/debugEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +8 -8
- 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/exceptionWidget.js +4 -4
- 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/repl.js +17 -17
- package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.js +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +5 -5
- 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/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/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
|
@@ -55,7 +55,7 @@ import { ReplAccessibilityAnnouncer } from '../common/replAccessibilityAnnouncer
|
|
|
55
55
|
import { RunAndDebugAccessibilityHelp } from './runAndDebugAccessibilityHelp.js';
|
|
56
56
|
import { DebugWatchAccessibilityAnnouncer } from '../common/debugAccessibilityAnnouncer.js';
|
|
57
57
|
|
|
58
|
-
const debugCategory = ( localize(
|
|
58
|
+
const debugCategory = ( localize(2600, "Debug"));
|
|
59
59
|
registerColors();
|
|
60
60
|
( (Registry.as(Extensions.Workbench))).registerWorkbenchContribution(DebugStatusContribution, 4 );
|
|
61
61
|
( (Registry.as(Extensions.Workbench))).registerWorkbenchContribution(DebugProgressContribution, 4 );
|
|
@@ -71,9 +71,9 @@ if (isWeb) {
|
|
|
71
71
|
ctor: StartDebugQuickAccessProvider,
|
|
72
72
|
prefix: DEBUG_QUICK_ACCESS_PREFIX,
|
|
73
73
|
contextKey: 'inLaunchConfigurationsPicker',
|
|
74
|
-
placeholder: ( localize(
|
|
74
|
+
placeholder: ( localize(2601, "Type the name of a launch configuration to run.")),
|
|
75
75
|
helpEntries: [{
|
|
76
|
-
description: ( localize(
|
|
76
|
+
description: ( localize(2602, "Start Debugging")),
|
|
77
77
|
commandId: SELECT_AND_START_ID,
|
|
78
78
|
commandCenterOrder: 50
|
|
79
79
|
}]
|
|
@@ -82,8 +82,8 @@ if (isWeb) {
|
|
|
82
82
|
ctor: DebugConsoleQuickAccess,
|
|
83
83
|
prefix: DEBUG_CONSOLE_QUICK_ACCESS_PREFIX,
|
|
84
84
|
contextKey: 'inDebugConsolePicker',
|
|
85
|
-
placeholder: ( localize(
|
|
86
|
-
helpEntries: [{ description: ( localize(
|
|
85
|
+
placeholder: ( localize(2603, "Type the name of a debug console to open.")),
|
|
86
|
+
helpEntries: [{ description: ( localize(2604, "Show All Debug Consoles")), commandId: SELECT_DEBUG_CONSOLE_ID }]
|
|
87
87
|
});
|
|
88
88
|
registerEditorContribution('editor.contrib.callStack', CallStackEditorContribution, 1 );
|
|
89
89
|
registerEditorContribution(BREAKPOINT_EDITOR_CONTRIBUTION_ID, BreakpointEditorContribution, 1 );
|
|
@@ -101,7 +101,7 @@ const registerDebugCommandPaletteItem = (id, title, when, precondition) => {
|
|
|
101
101
|
});
|
|
102
102
|
};
|
|
103
103
|
registerDebugCommandPaletteItem(RESTART_SESSION_ID, RESTART_LABEL);
|
|
104
|
-
registerDebugCommandPaletteItem(TERMINATE_THREAD_ID, ( localize2(
|
|
104
|
+
registerDebugCommandPaletteItem(TERMINATE_THREAD_ID, ( localize2(2605, "Terminate Thread")), CONTEXT_IN_DEBUG_MODE);
|
|
105
105
|
registerDebugCommandPaletteItem(STEP_OVER_ID, STEP_OVER_LABEL, CONTEXT_IN_DEBUG_MODE, ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped'))));
|
|
106
106
|
registerDebugCommandPaletteItem(STEP_INTO_ID, STEP_INTO_LABEL, CONTEXT_IN_DEBUG_MODE, ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped'))));
|
|
107
107
|
registerDebugCommandPaletteItem(STEP_INTO_TARGET_ID, STEP_INTO_TARGET_LABEL, CONTEXT_IN_DEBUG_MODE, ( (ContextKeyExpr.and(
|
|
@@ -124,13 +124,13 @@ registerDebugCommandPaletteItem(STOP_ID, STOP_LABEL, CONTEXT_IN_DEBUG_MODE, ( (C
|
|
|
124
124
|
CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED
|
|
125
125
|
))));
|
|
126
126
|
registerDebugCommandPaletteItem(CONTINUE_ID, CONTINUE_LABEL, CONTEXT_IN_DEBUG_MODE, ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped'))));
|
|
127
|
-
registerDebugCommandPaletteItem(FOCUS_REPL_ID, ( localize2(
|
|
128
|
-
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(
|
|
129
|
-
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(
|
|
127
|
+
registerDebugCommandPaletteItem(FOCUS_REPL_ID, ( localize2(2606, "Focus on Debug Console View")));
|
|
128
|
+
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(2607, "Jump to Cursor")), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
|
|
129
|
+
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(2608, "Set Next Statement")), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
|
|
130
130
|
registerDebugCommandPaletteItem(RunToCursorAction.ID, RunToCursorAction.LABEL, CONTEXT_DEBUGGERS_AVAILABLE);
|
|
131
131
|
registerDebugCommandPaletteItem(SelectionToReplAction.ID, SelectionToReplAction.LABEL, CONTEXT_IN_DEBUG_MODE);
|
|
132
132
|
registerDebugCommandPaletteItem(SelectionToWatchExpressionsAction.ID, SelectionToWatchExpressionsAction.LABEL);
|
|
133
|
-
registerDebugCommandPaletteItem(TOGGLE_INLINE_BREAKPOINT_ID, ( localize2(
|
|
133
|
+
registerDebugCommandPaletteItem(TOGGLE_INLINE_BREAKPOINT_ID, ( localize2(2609, "Inline Breakpoint")));
|
|
134
134
|
registerDebugCommandPaletteItem(DEBUG_START_COMMAND_ID, DEBUG_START_LABEL, ( (ContextKeyExpr.and(
|
|
135
135
|
CONTEXT_DEBUGGERS_AVAILABLE,
|
|
136
136
|
(CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(1 )))
|
|
@@ -188,45 +188,45 @@ registerDebugViewMenuItem(MenuId.DebugCallStackContext, CONTINUE_ID, CONTINUE_LA
|
|
|
188
188
|
registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_OVER_ID, STEP_OVER_LABEL, 20, ( (CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread'))), ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped'))));
|
|
189
189
|
registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_INTO_ID, STEP_INTO_LABEL, 30, ( (CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread'))), ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped'))));
|
|
190
190
|
registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_OUT_ID, STEP_OUT_LABEL, 40, ( (CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread'))), ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped'))));
|
|
191
|
-
registerDebugViewMenuItem(MenuId.DebugCallStackContext, TERMINATE_THREAD_ID, ( localize(
|
|
192
|
-
registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_FRAME_ID, ( localize(
|
|
191
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, TERMINATE_THREAD_ID, ( localize(2605, "Terminate Thread")), 10, ( (CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread'))), undefined, 'termination');
|
|
192
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_FRAME_ID, ( localize(2610, "Restart Frame")), 10, ( (ContextKeyExpr.and(
|
|
193
193
|
(CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame')),
|
|
194
194
|
CONTEXT_RESTART_FRAME_SUPPORTED
|
|
195
195
|
))), CONTEXT_STACK_FRAME_SUPPORTS_RESTART);
|
|
196
|
-
registerDebugViewMenuItem(MenuId.DebugCallStackContext, COPY_STACK_TRACE_ID, ( localize(
|
|
197
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, VIEW_MEMORY_ID, ( localize(
|
|
198
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, SET_VARIABLE_ID, ( localize(
|
|
196
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, COPY_STACK_TRACE_ID, ( localize(2611, "Copy Call Stack")), 20, ( (CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame'))), undefined, '3_modification');
|
|
197
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, VIEW_MEMORY_ID, ( localize(2612, "View Binary Data")), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, 'inline', debugInspectMemory);
|
|
198
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, SET_VARIABLE_ID, ( localize(2613, "Set Value")), 10, ( (ContextKeyExpr.or(
|
|
199
199
|
CONTEXT_SET_VARIABLE_SUPPORTED,
|
|
200
200
|
(ContextKeyExpr.and(CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, CONTEXT_SET_EXPRESSION_SUPPORTED))
|
|
201
201
|
))), ( (CONTEXT_VARIABLE_IS_READONLY.toNegated())), '3_modification');
|
|
202
202
|
registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_VALUE_ID, COPY_VALUE_LABEL, 10, undefined, undefined, '5_cutcopypaste');
|
|
203
203
|
registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_EVALUATE_PATH_ID, COPY_EVALUATE_PATH_LABEL, 20, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, '5_cutcopypaste');
|
|
204
204
|
registerDebugViewMenuItem(MenuId.DebugVariablesContext, ADD_TO_WATCH_ID, ADD_TO_WATCH_LABEL, 100, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, 'z_commands');
|
|
205
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(
|
|
206
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(
|
|
207
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(
|
|
208
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, VIEW_MEMORY_ID, ( localize(
|
|
205
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(2614, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
|
|
206
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(2615, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
|
|
207
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(2616, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
|
|
208
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, VIEW_MEMORY_ID, ( localize(2612, "View Binary Data")), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, 'inline', debugInspectMemory);
|
|
209
209
|
registerDebugViewMenuItem(MenuId.DebugHoverContext, COPY_VALUE_ID, COPY_VALUE_LABEL, 10, undefined, undefined, '5_cutcopypaste');
|
|
210
210
|
registerDebugViewMenuItem(MenuId.DebugHoverContext, COPY_EVALUATE_PATH_ID, COPY_EVALUATE_PATH_LABEL, 20, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, '5_cutcopypaste');
|
|
211
211
|
registerDebugViewMenuItem(MenuId.DebugHoverContext, ADD_TO_WATCH_ID, ADD_TO_WATCH_LABEL, 100, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, 'z_commands');
|
|
212
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(
|
|
213
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(
|
|
214
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(
|
|
212
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(2614, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
|
|
213
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(2615, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
|
|
214
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(2616, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
|
|
215
215
|
registerDebugViewMenuItem(MenuId.DebugWatchContext, ADD_WATCH_ID, ADD_WATCH_LABEL, 10, undefined, undefined, '3_modification');
|
|
216
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, EDIT_EXPRESSION_COMMAND_ID, ( localize(
|
|
217
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, SET_EXPRESSION_COMMAND_ID, ( localize(
|
|
216
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, EDIT_EXPRESSION_COMMAND_ID, ( localize(2617, "Edit Expression")), 20, ( (CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression'))), undefined, '3_modification');
|
|
217
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, SET_EXPRESSION_COMMAND_ID, ( localize(2613, "Set Value")), 30, ( (ContextKeyExpr.or( (ContextKeyExpr.and(
|
|
218
218
|
(CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')),
|
|
219
219
|
CONTEXT_SET_EXPRESSION_SUPPORTED
|
|
220
220
|
)), (ContextKeyExpr.and(
|
|
221
221
|
(CONTEXT_WATCH_ITEM_TYPE.isEqualTo('variable')),
|
|
222
222
|
CONTEXT_SET_VARIABLE_SUPPORTED
|
|
223
223
|
))))), ( (CONTEXT_VARIABLE_IS_READONLY.toNegated())), '3_modification');
|
|
224
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, COPY_VALUE_ID, ( localize(
|
|
224
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, COPY_VALUE_ID, ( localize(2618, "Copy Value")), 40, ( (ContextKeyExpr.or(
|
|
225
225
|
(CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')),
|
|
226
226
|
(CONTEXT_WATCH_ITEM_TYPE.isEqualTo('variable'))
|
|
227
227
|
))), CONTEXT_IN_DEBUG_MODE, '3_modification');
|
|
228
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, VIEW_MEMORY_ID, ( localize(
|
|
229
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID, ( localize(
|
|
228
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, VIEW_MEMORY_ID, ( localize(2612, "View Binary Data")), 10, CONTEXT_CAN_VIEW_MEMORY, undefined, 'inline', debugInspectMemory);
|
|
229
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID, ( localize(2619, "Remove Expression")), 20, ( (CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression'))), undefined, 'inline', watchExpressionRemove);
|
|
230
230
|
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_WATCH_EXPRESSIONS_COMMAND_ID, REMOVE_WATCH_EXPRESSIONS_LABEL, 20, undefined, undefined, 'z_commands');
|
|
231
231
|
registerDebugViewMenuItem(MenuId.NotebookVariablesContext, COPY_NOTEBOOK_VARIABLE_VALUE_ID, COPY_NOTEBOOK_VARIABLE_VALUE_LABEL, 20, CONTEXT_VARIABLE_VALUE);
|
|
232
232
|
if (isMacintosh) {
|
|
@@ -255,12 +255,12 @@ if (isMacintosh) {
|
|
|
255
255
|
registerTouchBarEntry(RESTART_SESSION_ID, RESTART_LABEL, 5, CONTEXT_IN_DEBUG_MODE, ( (FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/restart-tb.png'))));
|
|
256
256
|
registerTouchBarEntry(STOP_ID, STOP_LABEL, 6, CONTEXT_IN_DEBUG_MODE, ( (FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/stop-tb.png'))));
|
|
257
257
|
}
|
|
258
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, rememberDefaultAction: true, title: ( localize2(
|
|
258
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, rememberDefaultAction: true, title: ( localize2(2620, "Run or Debug...")), icon: debugRun, group: 'navigation', order: -1 });
|
|
259
259
|
MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
260
260
|
submenu: MenuId.MenubarDebugMenu,
|
|
261
261
|
title: {
|
|
262
|
-
...( localize2(
|
|
263
|
-
mnemonicTitle: ( localize(
|
|
262
|
+
...( localize2(2621, "Run")),
|
|
263
|
+
mnemonicTitle: ( localize(2622, "&&Run"))
|
|
264
264
|
},
|
|
265
265
|
order: 6
|
|
266
266
|
});
|
|
@@ -268,7 +268,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
268
268
|
group: '1_debug',
|
|
269
269
|
command: {
|
|
270
270
|
id: DEBUG_START_COMMAND_ID,
|
|
271
|
-
title: ( localize(
|
|
271
|
+
title: ( localize(2623, "&&Start Debugging"))
|
|
272
272
|
},
|
|
273
273
|
order: 1,
|
|
274
274
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -277,7 +277,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
277
277
|
group: '1_debug',
|
|
278
278
|
command: {
|
|
279
279
|
id: DEBUG_RUN_COMMAND_ID,
|
|
280
|
-
title: ( localize(
|
|
280
|
+
title: ( localize(2624, "Run &&Without Debugging"))
|
|
281
281
|
},
|
|
282
282
|
order: 2,
|
|
283
283
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -286,7 +286,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
286
286
|
group: '1_debug',
|
|
287
287
|
command: {
|
|
288
288
|
id: STOP_ID,
|
|
289
|
-
title: ( localize(
|
|
289
|
+
title: ( localize(2625, "&&Stop Debugging")),
|
|
290
290
|
precondition: CONTEXT_IN_DEBUG_MODE
|
|
291
291
|
},
|
|
292
292
|
order: 3,
|
|
@@ -296,7 +296,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
296
296
|
group: '1_debug',
|
|
297
297
|
command: {
|
|
298
298
|
id: RESTART_SESSION_ID,
|
|
299
|
-
title: ( localize(
|
|
299
|
+
title: ( localize(2626, "&&Restart Debugging")),
|
|
300
300
|
precondition: CONTEXT_IN_DEBUG_MODE
|
|
301
301
|
},
|
|
302
302
|
order: 4,
|
|
@@ -306,7 +306,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
306
306
|
group: '2_configuration',
|
|
307
307
|
command: {
|
|
308
308
|
id: ADD_CONFIGURATION_ID,
|
|
309
|
-
title: ( localize(
|
|
309
|
+
title: ( localize(2627, "A&&dd Configuration..."))
|
|
310
310
|
},
|
|
311
311
|
order: 2,
|
|
312
312
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -315,7 +315,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
315
315
|
group: '3_step',
|
|
316
316
|
command: {
|
|
317
317
|
id: STEP_OVER_ID,
|
|
318
|
-
title: ( localize(
|
|
318
|
+
title: ( localize(2628, "Step &&Over")),
|
|
319
319
|
precondition: ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped')))
|
|
320
320
|
},
|
|
321
321
|
order: 1,
|
|
@@ -325,7 +325,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
325
325
|
group: '3_step',
|
|
326
326
|
command: {
|
|
327
327
|
id: STEP_INTO_ID,
|
|
328
|
-
title: ( localize(
|
|
328
|
+
title: ( localize(2629, "Step &&Into")),
|
|
329
329
|
precondition: ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped')))
|
|
330
330
|
},
|
|
331
331
|
order: 2,
|
|
@@ -335,7 +335,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
335
335
|
group: '3_step',
|
|
336
336
|
command: {
|
|
337
337
|
id: STEP_OUT_ID,
|
|
338
|
-
title: ( localize(
|
|
338
|
+
title: ( localize(2630, "Step O&&ut")),
|
|
339
339
|
precondition: ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped')))
|
|
340
340
|
},
|
|
341
341
|
order: 3,
|
|
@@ -345,7 +345,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
345
345
|
group: '3_step',
|
|
346
346
|
command: {
|
|
347
347
|
id: CONTINUE_ID,
|
|
348
|
-
title: ( localize(
|
|
348
|
+
title: ( localize(2631, "&&Continue")),
|
|
349
349
|
precondition: ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped')))
|
|
350
350
|
},
|
|
351
351
|
order: 4,
|
|
@@ -355,14 +355,14 @@ MenuRegistry.appendMenuItem(MenuId.MenubarNewBreakpointMenu, {
|
|
|
355
355
|
group: '1_breakpoints',
|
|
356
356
|
command: {
|
|
357
357
|
id: TOGGLE_INLINE_BREAKPOINT_ID,
|
|
358
|
-
title: ( localize(
|
|
358
|
+
title: ( localize(2632, "Inline Breakp&&oint"))
|
|
359
359
|
},
|
|
360
360
|
order: 2,
|
|
361
361
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
362
362
|
});
|
|
363
363
|
MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
364
364
|
group: '4_new_breakpoint',
|
|
365
|
-
title: ( localize(
|
|
365
|
+
title: ( localize(2633, "&&New Breakpoint")),
|
|
366
366
|
submenu: MenuId.MenubarNewBreakpointMenu,
|
|
367
367
|
order: 2,
|
|
368
368
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -371,13 +371,13 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
371
371
|
group: 'z_install',
|
|
372
372
|
command: {
|
|
373
373
|
id: 'debug.installAdditionalDebuggers',
|
|
374
|
-
title: ( localize(
|
|
374
|
+
title: ( localize(2634, "&&Install Additional Debuggers..."))
|
|
375
375
|
},
|
|
376
376
|
order: 1
|
|
377
377
|
});
|
|
378
378
|
const VIEW_CONTAINER = ( (Registry.as(Extensions$2.ViewContainersRegistry))).registerViewContainer({
|
|
379
379
|
id: DEBUG_PANEL_ID,
|
|
380
|
-
title: ( localize2(
|
|
380
|
+
title: ( localize2(2635, "Debug Console")),
|
|
381
381
|
icon: debugConsoleViewIcon,
|
|
382
382
|
ctorDescriptor: ( (new SyncDescriptor(
|
|
383
383
|
ViewPaneContainer,
|
|
@@ -389,7 +389,7 @@ const VIEW_CONTAINER = ( (Registry.as(Extensions$2.ViewContainersRegistry))).reg
|
|
|
389
389
|
}, 1 , { doNotRegisterOpenCommand: true });
|
|
390
390
|
( (Registry.as(Extensions$2.ViewsRegistry))).registerViews([{
|
|
391
391
|
id: REPL_VIEW_ID,
|
|
392
|
-
name: ( localize2(
|
|
392
|
+
name: ( localize2(2635, "Debug Console")),
|
|
393
393
|
containerIcon: debugConsoleViewIcon,
|
|
394
394
|
canToggleVisibility: false,
|
|
395
395
|
canMoveView: true,
|
|
@@ -397,17 +397,17 @@ const VIEW_CONTAINER = ( (Registry.as(Extensions$2.ViewContainersRegistry))).reg
|
|
|
397
397
|
ctorDescriptor: ( (new SyncDescriptor(Repl))),
|
|
398
398
|
openCommandActionDescriptor: {
|
|
399
399
|
id: 'workbench.debug.action.toggleRepl',
|
|
400
|
-
mnemonicTitle: ( localize(
|
|
400
|
+
mnemonicTitle: ( localize(2636, "De&&bug Console")),
|
|
401
401
|
keybindings: { primary: 2048 | 1024 | 55 },
|
|
402
402
|
order: 2
|
|
403
403
|
}
|
|
404
404
|
}], VIEW_CONTAINER);
|
|
405
405
|
const viewContainer = ( (Registry.as(Extensions$2.ViewContainersRegistry))).registerViewContainer({
|
|
406
406
|
id: VIEWLET_ID,
|
|
407
|
-
title: ( localize2(
|
|
407
|
+
title: ( localize2(2637, "Run and Debug")),
|
|
408
408
|
openCommandActionDescriptor: {
|
|
409
409
|
id: VIEWLET_ID,
|
|
410
|
-
mnemonicTitle: ( localize(
|
|
410
|
+
mnemonicTitle: ( localize(2638, "&&Run")),
|
|
411
411
|
keybindings: { primary: 2048 | 1024 | 34 },
|
|
412
412
|
order: 3
|
|
413
413
|
},
|
|
@@ -417,56 +417,56 @@ const viewContainer = ( (Registry.as(Extensions$2.ViewContainersRegistry))).regi
|
|
|
417
417
|
order: 3,
|
|
418
418
|
}, 0 );
|
|
419
419
|
const viewsRegistry = ( (Registry.as(Extensions$2.ViewsRegistry)));
|
|
420
|
-
viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name: ( localize2(
|
|
421
|
-
viewsRegistry.registerViews([{ id: WATCH_VIEW_ID, name: ( localize2(
|
|
422
|
-
viewsRegistry.registerViews([{ id: CALLSTACK_VIEW_ID, name: ( localize2(
|
|
423
|
-
viewsRegistry.registerViews([{ id: BREAKPOINTS_VIEW_ID, name: ( localize2(
|
|
420
|
+
viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name: ( localize2(2639, "Variables")), containerIcon: variablesViewIcon, ctorDescriptor: ( (new SyncDescriptor(VariablesView))), order: 10, weight: 40, canToggleVisibility: true, canMoveView: true, focusCommand: { id: 'workbench.debug.action.focusVariablesView' }, when: ( (CONTEXT_DEBUG_UX.isEqualTo('default'))) }], viewContainer);
|
|
421
|
+
viewsRegistry.registerViews([{ id: WATCH_VIEW_ID, name: ( localize2(2640, "Watch")), containerIcon: watchViewIcon, ctorDescriptor: ( (new SyncDescriptor(WatchExpressionsView))), order: 20, weight: 10, canToggleVisibility: true, canMoveView: true, focusCommand: { id: 'workbench.debug.action.focusWatchView' }, when: ( (CONTEXT_DEBUG_UX.isEqualTo('default'))) }], viewContainer);
|
|
422
|
+
viewsRegistry.registerViews([{ id: CALLSTACK_VIEW_ID, name: ( localize2(2641, "Call Stack")), containerIcon: callStackViewIcon, ctorDescriptor: ( (new SyncDescriptor(CallStackView))), order: 30, weight: 30, canToggleVisibility: true, canMoveView: true, focusCommand: { id: 'workbench.debug.action.focusCallStackView' }, when: ( (CONTEXT_DEBUG_UX.isEqualTo('default'))) }], viewContainer);
|
|
423
|
+
viewsRegistry.registerViews([{ id: BREAKPOINTS_VIEW_ID, name: ( localize2(2642, "Breakpoints")), containerIcon: breakpointsViewIcon, ctorDescriptor: ( (new SyncDescriptor(BreakpointsView))), order: 40, weight: 20, canToggleVisibility: true, canMoveView: true, focusCommand: { id: 'workbench.debug.action.focusBreakpointsView' }, when: ( (ContextKeyExpr.or(
|
|
424
424
|
CONTEXT_BREAKPOINTS_EXIST,
|
|
425
425
|
(CONTEXT_DEBUG_UX.isEqualTo('default')),
|
|
426
426
|
CONTEXT_HAS_DEBUGGED
|
|
427
427
|
))) }], viewContainer);
|
|
428
428
|
viewsRegistry.registerViews([{ id: WelcomeView.ID, name: WelcomeView.LABEL, containerIcon: runViewIcon, ctorDescriptor: ( (new SyncDescriptor(WelcomeView))), order: 1, weight: 40, canToggleVisibility: true, when: ( (CONTEXT_DEBUG_UX.isEqualTo('simple'))) }], viewContainer);
|
|
429
|
-
viewsRegistry.registerViews([{ id: LOADED_SCRIPTS_VIEW_ID, name: ( localize2(
|
|
429
|
+
viewsRegistry.registerViews([{ id: LOADED_SCRIPTS_VIEW_ID, name: ( localize2(2643, "Loaded Scripts")), containerIcon: loadedScriptsViewIcon, ctorDescriptor: ( (new SyncDescriptor(LoadedScriptsView))), order: 35, weight: 5, canToggleVisibility: true, canMoveView: true, collapsed: true, when: ( (ContextKeyExpr.and(
|
|
430
430
|
CONTEXT_LOADED_SCRIPTS_SUPPORTED,
|
|
431
431
|
(CONTEXT_DEBUG_UX.isEqualTo('default'))
|
|
432
432
|
))) }], viewContainer);
|
|
433
|
-
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( localize(
|
|
433
|
+
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( localize(2644, "Disassembly"))), [( (new SyncDescriptor(DisassemblyViewInput)))]);
|
|
434
434
|
const configurationRegistry = ( (Registry.as(Extensions$3.Configuration)));
|
|
435
435
|
configurationRegistry.registerConfiguration({
|
|
436
436
|
id: 'debug',
|
|
437
437
|
order: 20,
|
|
438
|
-
title: ( localize(
|
|
438
|
+
title: ( localize(2645, "Debug")),
|
|
439
439
|
type: 'object',
|
|
440
440
|
properties: {
|
|
441
441
|
'debug.showVariableTypes': {
|
|
442
442
|
type: 'boolean',
|
|
443
|
-
description: ( localize(
|
|
443
|
+
description: ( localize(2646, "Show variable type in variable pane during debug session")),
|
|
444
444
|
default: false
|
|
445
445
|
},
|
|
446
446
|
'debug.allowBreakpointsEverywhere': {
|
|
447
447
|
type: 'boolean',
|
|
448
|
-
description: ( localize(
|
|
448
|
+
description: ( localize(2647, "Allow setting breakpoints in any file.")),
|
|
449
449
|
default: false
|
|
450
450
|
},
|
|
451
451
|
'debug.gutterMiddleClickAction': {
|
|
452
452
|
type: 'string',
|
|
453
453
|
enum: ['logpoint', 'conditionalBreakpoint', 'triggeredBreakpoint', 'none'],
|
|
454
454
|
description: ( localize(
|
|
455
|
-
|
|
455
|
+
2648,
|
|
456
456
|
'Controls the action to perform when clicking the editor gutter with the middle mouse button.'
|
|
457
457
|
)),
|
|
458
458
|
enumDescriptions: [
|
|
459
|
-
( localize(
|
|
460
|
-
( localize(
|
|
461
|
-
( localize(
|
|
462
|
-
( localize(
|
|
459
|
+
( localize(2649, "Add Logpoint.")),
|
|
460
|
+
( localize(2650, "Add Conditional Breakpoint.")),
|
|
461
|
+
( localize(2651, "Add Triggered Breakpoint.")),
|
|
462
|
+
( localize(2652, "Don't perform any action.")),
|
|
463
463
|
],
|
|
464
464
|
default: 'logpoint',
|
|
465
465
|
},
|
|
466
466
|
'debug.openExplorerOnEnd': {
|
|
467
467
|
type: 'boolean',
|
|
468
468
|
description: ( localize(
|
|
469
|
-
|
|
469
|
+
2653,
|
|
470
470
|
"Automatically open the explorer view at the end of a debug session."
|
|
471
471
|
)),
|
|
472
472
|
default: false
|
|
@@ -474,7 +474,7 @@ configurationRegistry.registerConfiguration({
|
|
|
474
474
|
'debug.closeReadonlyTabsOnEnd': {
|
|
475
475
|
type: 'boolean',
|
|
476
476
|
description: ( localize(
|
|
477
|
-
|
|
477
|
+
2654,
|
|
478
478
|
"At the end of a debug session, all the read-only tabs associated with that session will be closed"
|
|
479
479
|
)),
|
|
480
480
|
default: false
|
|
@@ -482,12 +482,12 @@ configurationRegistry.registerConfiguration({
|
|
|
482
482
|
'debug.inlineValues': {
|
|
483
483
|
type: 'string',
|
|
484
484
|
'enum': ['on', 'off', 'auto'],
|
|
485
|
-
description: ( localize(
|
|
485
|
+
description: ( localize(2655, "Show variable values inline in editor while debugging.")),
|
|
486
486
|
'enumDescriptions': [
|
|
487
|
-
( localize(
|
|
488
|
-
( localize(
|
|
487
|
+
( localize(2656, "Always show variable values inline in editor while debugging.")),
|
|
488
|
+
( localize(2657, "Never show variable values inline in editor while debugging.")),
|
|
489
489
|
( localize(
|
|
490
|
-
|
|
490
|
+
2658,
|
|
491
491
|
"Show variable values inline in editor while debugging when the language supports inline value locations."
|
|
492
492
|
)),
|
|
493
493
|
],
|
|
@@ -496,32 +496,32 @@ configurationRegistry.registerConfiguration({
|
|
|
496
496
|
'debug.toolBarLocation': {
|
|
497
497
|
enum: ['floating', 'docked', 'commandCenter', 'hidden'],
|
|
498
498
|
markdownDescription: ( localize(
|
|
499
|
-
|
|
499
|
+
2659,
|
|
500
500
|
"Controls the location of the debug toolbar. Either `floating` in all views, `docked` in the debug view, `commandCenter` (requires {0}), or `hidden`.",
|
|
501
501
|
'`#window.commandCenter#`'
|
|
502
502
|
)),
|
|
503
503
|
default: 'floating',
|
|
504
504
|
markdownEnumDescriptions: [
|
|
505
|
-
( localize(
|
|
506
|
-
( localize(
|
|
507
|
-
( localize(
|
|
508
|
-
( localize(
|
|
505
|
+
( localize(2660, "Show debug toolbar in all views.")),
|
|
506
|
+
( localize(2661, "Show debug toolbar only in debug views.")),
|
|
507
|
+
( localize(2662, "`(Experimental)` Show debug toolbar in the command center.")),
|
|
508
|
+
( localize(2663, "Do not show debug toolbar.")),
|
|
509
509
|
]
|
|
510
510
|
},
|
|
511
511
|
'debug.showInStatusBar': {
|
|
512
512
|
enum: ['never', 'always', 'onFirstSessionStart'],
|
|
513
|
-
enumDescriptions: [( localize(
|
|
514
|
-
|
|
513
|
+
enumDescriptions: [( localize(2664, "Never show debug in Status bar")), ( localize(2665, "Always show debug in Status bar")), ( localize(
|
|
514
|
+
2666,
|
|
515
515
|
"Show debug in Status bar only after debug was started for the first time"
|
|
516
516
|
))],
|
|
517
|
-
description: ( localize(
|
|
517
|
+
description: ( localize(2667, "Controls when the debug Status bar should be visible.")),
|
|
518
518
|
default: 'onFirstSessionStart'
|
|
519
519
|
},
|
|
520
520
|
'debug.internalConsoleOptions': INTERNAL_CONSOLE_OPTIONS_SCHEMA,
|
|
521
521
|
'debug.console.closeOnEnd': {
|
|
522
522
|
type: 'boolean',
|
|
523
523
|
description: ( localize(
|
|
524
|
-
|
|
524
|
+
2668,
|
|
525
525
|
"Controls if the Debug Console should be automatically closed when the debug session ends."
|
|
526
526
|
)),
|
|
527
527
|
default: false
|
|
@@ -529,7 +529,7 @@ configurationRegistry.registerConfiguration({
|
|
|
529
529
|
'debug.terminal.clearBeforeReusing': {
|
|
530
530
|
type: 'boolean',
|
|
531
531
|
description: ( localize(
|
|
532
|
-
|
|
532
|
+
2669,
|
|
533
533
|
"Before starting a new debug session in an integrated or external terminal, clear the terminal."
|
|
534
534
|
)),
|
|
535
535
|
default: false
|
|
@@ -537,43 +537,43 @@ configurationRegistry.registerConfiguration({
|
|
|
537
537
|
'debug.openDebug': {
|
|
538
538
|
enum: ['neverOpen', 'openOnSessionStart', 'openOnFirstSessionStart', 'openOnDebugBreak'],
|
|
539
539
|
default: 'openOnDebugBreak',
|
|
540
|
-
description: ( localize(
|
|
540
|
+
description: ( localize(2670, "Controls when the debug view should open."))
|
|
541
541
|
},
|
|
542
542
|
'debug.showSubSessionsInToolBar': {
|
|
543
543
|
type: 'boolean',
|
|
544
544
|
description: ( localize(
|
|
545
|
-
|
|
545
|
+
2671,
|
|
546
546
|
"Controls whether the debug sub-sessions are shown in the debug tool bar. When this setting is false the stop command on a sub-session will also stop the parent session."
|
|
547
547
|
)),
|
|
548
548
|
default: false
|
|
549
549
|
},
|
|
550
550
|
'debug.console.fontSize': {
|
|
551
551
|
type: 'number',
|
|
552
|
-
description: ( localize(
|
|
552
|
+
description: ( localize(2672, "Controls the font size in pixels in the Debug Console.")),
|
|
553
553
|
default: isMacintosh ? 12 : 14,
|
|
554
554
|
},
|
|
555
555
|
'debug.console.fontFamily': {
|
|
556
556
|
type: 'string',
|
|
557
|
-
description: ( localize(
|
|
557
|
+
description: ( localize(2673, "Controls the font family in the Debug Console.")),
|
|
558
558
|
default: 'default'
|
|
559
559
|
},
|
|
560
560
|
'debug.console.lineHeight': {
|
|
561
561
|
type: 'number',
|
|
562
562
|
description: ( localize(
|
|
563
|
-
|
|
563
|
+
2674,
|
|
564
564
|
"Controls the line height in pixels in the Debug Console. Use 0 to compute the line height from the font size."
|
|
565
565
|
)),
|
|
566
566
|
default: 0
|
|
567
567
|
},
|
|
568
568
|
'debug.console.wordWrap': {
|
|
569
569
|
type: 'boolean',
|
|
570
|
-
description: ( localize(
|
|
570
|
+
description: ( localize(2675, "Controls if the lines should wrap in the Debug Console.")),
|
|
571
571
|
default: true
|
|
572
572
|
},
|
|
573
573
|
'debug.console.historySuggestions': {
|
|
574
574
|
type: 'boolean',
|
|
575
575
|
description: ( localize(
|
|
576
|
-
|
|
576
|
+
2676,
|
|
577
577
|
"Controls if the Debug Console should suggest previously typed input."
|
|
578
578
|
)),
|
|
579
579
|
default: true
|
|
@@ -581,7 +581,7 @@ configurationRegistry.registerConfiguration({
|
|
|
581
581
|
'debug.console.collapseIdenticalLines': {
|
|
582
582
|
type: 'boolean',
|
|
583
583
|
description: ( localize(
|
|
584
|
-
|
|
584
|
+
2677,
|
|
585
585
|
"Controls if the Debug Console should collapse identical lines and show a number of occurrences with a badge."
|
|
586
586
|
)),
|
|
587
587
|
default: true
|
|
@@ -589,7 +589,7 @@ configurationRegistry.registerConfiguration({
|
|
|
589
589
|
'debug.console.acceptSuggestionOnEnter': {
|
|
590
590
|
enum: ['off', 'on'],
|
|
591
591
|
description: ( localize(
|
|
592
|
-
|
|
592
|
+
2678,
|
|
593
593
|
"Controls whether suggestions should be accepted on Enter in the Debug Console. Enter is also used to evaluate whatever is typed in the Debug Console."
|
|
594
594
|
)),
|
|
595
595
|
default: 'off'
|
|
@@ -597,7 +597,7 @@ configurationRegistry.registerConfiguration({
|
|
|
597
597
|
'launch': {
|
|
598
598
|
type: 'object',
|
|
599
599
|
description: ( localize(
|
|
600
|
-
|
|
600
|
+
2679,
|
|
601
601
|
"Global debug launch configuration. Should be used as an alternative to 'launch.json' that is shared across workspaces."
|
|
602
602
|
)),
|
|
603
603
|
default: { configurations: [], compounds: [] },
|
|
@@ -607,7 +607,7 @@ configurationRegistry.registerConfiguration({
|
|
|
607
607
|
'debug.focusWindowOnBreak': {
|
|
608
608
|
type: 'boolean',
|
|
609
609
|
description: ( localize(
|
|
610
|
-
|
|
610
|
+
2680,
|
|
611
611
|
"Controls whether the workbench window should be focused when the debugger breaks."
|
|
612
612
|
)),
|
|
613
613
|
default: true
|
|
@@ -615,16 +615,16 @@ configurationRegistry.registerConfiguration({
|
|
|
615
615
|
'debug.focusEditorOnBreak': {
|
|
616
616
|
type: 'boolean',
|
|
617
617
|
description: ( localize(
|
|
618
|
-
|
|
618
|
+
2681,
|
|
619
619
|
"Controls whether the editor should be focused when the debugger breaks."
|
|
620
620
|
)),
|
|
621
621
|
default: true
|
|
622
622
|
},
|
|
623
623
|
'debug.onTaskErrors': {
|
|
624
624
|
enum: ['debugAnyway', 'showErrors', 'prompt', 'abort'],
|
|
625
|
-
enumDescriptions: [( localize(
|
|
625
|
+
enumDescriptions: [( localize(2682, "Ignore task errors and start debugging.")), ( localize(2683, "Show the Problems view and do not start debugging.")), ( localize(2684, "Prompt user.")), ( localize(2685, "Cancel debugging."))],
|
|
626
626
|
description: ( localize(
|
|
627
|
-
|
|
627
|
+
2686,
|
|
628
628
|
"Controls what to do when errors are encountered after running a preLaunchTask."
|
|
629
629
|
)),
|
|
630
630
|
default: 'prompt'
|
|
@@ -632,7 +632,7 @@ configurationRegistry.registerConfiguration({
|
|
|
632
632
|
'debug.showBreakpointsInOverviewRuler': {
|
|
633
633
|
type: 'boolean',
|
|
634
634
|
description: ( localize(
|
|
635
|
-
|
|
635
|
+
2687,
|
|
636
636
|
"Controls whether breakpoints should be shown in the overview ruler."
|
|
637
637
|
)),
|
|
638
638
|
default: false
|
|
@@ -640,45 +640,45 @@ configurationRegistry.registerConfiguration({
|
|
|
640
640
|
'debug.showInlineBreakpointCandidates': {
|
|
641
641
|
type: 'boolean',
|
|
642
642
|
description: ( localize(
|
|
643
|
-
|
|
643
|
+
2688,
|
|
644
644
|
"Controls whether inline breakpoints candidate decorations should be shown in the editor while debugging."
|
|
645
645
|
)),
|
|
646
646
|
default: true
|
|
647
647
|
},
|
|
648
648
|
'debug.saveBeforeStart': {
|
|
649
|
-
description: ( localize(
|
|
649
|
+
description: ( localize(2689, "Controls what editors to save before starting a debug session.")),
|
|
650
650
|
enum: ['allEditorsInActiveGroup', 'nonUntitledEditorsInActiveGroup', 'none'],
|
|
651
651
|
enumDescriptions: [
|
|
652
652
|
( localize(
|
|
653
|
-
|
|
653
|
+
2690,
|
|
654
654
|
"Save all editors in the active group before starting a debug session."
|
|
655
655
|
)),
|
|
656
656
|
( localize(
|
|
657
|
-
|
|
657
|
+
2691,
|
|
658
658
|
"Save all editors in the active group except untitled ones before starting a debug session."
|
|
659
659
|
)),
|
|
660
|
-
( localize(
|
|
660
|
+
( localize(2692, "Don't save any editors before starting a debug session.")),
|
|
661
661
|
],
|
|
662
662
|
default: 'allEditorsInActiveGroup',
|
|
663
663
|
scope: 5
|
|
664
664
|
},
|
|
665
665
|
'debug.confirmOnExit': {
|
|
666
666
|
description: ( localize(
|
|
667
|
-
|
|
667
|
+
2693,
|
|
668
668
|
"Controls whether to confirm when the window closes if there are active debug sessions."
|
|
669
669
|
)),
|
|
670
670
|
type: 'string',
|
|
671
671
|
enum: ['never', 'always'],
|
|
672
672
|
enumDescriptions: [
|
|
673
|
-
( localize(
|
|
674
|
-
( localize(
|
|
673
|
+
( localize(2694, "Never confirm.")),
|
|
674
|
+
( localize(2695, "Always confirm if there are debug sessions.")),
|
|
675
675
|
],
|
|
676
676
|
default: 'never'
|
|
677
677
|
},
|
|
678
678
|
'debug.disassemblyView.showSourceCode': {
|
|
679
679
|
type: 'boolean',
|
|
680
680
|
default: true,
|
|
681
|
-
description: ( localize(
|
|
681
|
+
description: ( localize(2696, "Show Source Code in Disassembly View."))
|
|
682
682
|
},
|
|
683
683
|
'debug.autoExpandLazyVariables': {
|
|
684
684
|
type: 'string',
|
|
@@ -686,26 +686,26 @@ configurationRegistry.registerConfiguration({
|
|
|
686
686
|
default: 'auto',
|
|
687
687
|
enumDescriptions: [
|
|
688
688
|
( localize(
|
|
689
|
-
|
|
689
|
+
2697,
|
|
690
690
|
"When in screen reader optimized mode, automatically expand lazy variables."
|
|
691
691
|
)),
|
|
692
|
-
( localize(
|
|
693
|
-
( localize(
|
|
692
|
+
( localize(2698, "Always automatically expand lazy variables.")),
|
|
693
|
+
( localize(2699, "Never automatically expand lazy variables."))
|
|
694
694
|
],
|
|
695
695
|
description: ( localize(
|
|
696
|
-
|
|
696
|
+
2700,
|
|
697
697
|
"Controls whether variables that are lazily resolved, such as getters, are automatically resolved and expanded by the debugger."
|
|
698
698
|
))
|
|
699
699
|
},
|
|
700
700
|
'debug.enableStatusBarColor': {
|
|
701
701
|
type: 'boolean',
|
|
702
|
-
description: ( localize(
|
|
702
|
+
description: ( localize(2701, "Color of the Status bar when debugger is active.")),
|
|
703
703
|
default: true
|
|
704
704
|
},
|
|
705
705
|
'debug.hideLauncherWhileDebugging': {
|
|
706
706
|
type: 'boolean',
|
|
707
707
|
markdownDescription: ( localize(
|
|
708
|
-
|
|
708
|
+
2702,
|
|
709
709
|
"Hide 'Start Debugging' control in title bar of 'Run and Debug' view while debugging is active. Only relevant when {0} is not `docked`.",
|
|
710
710
|
'`#debug.toolBarLocation#`'
|
|
711
711
|
)),
|