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