@codingame/monaco-vscode-debug-service-override 14.0.2 → 14.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +16 -16
- 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 +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +24 -24
- package/vscode/src/vs/workbench/contrib/debug/browser/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 +21 -18
- 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 +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +44 -44
- package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +11 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +2 -2
|
@@ -61,7 +61,7 @@ import { DebugWatchAccessibilityAnnouncer } from '../common/debugAccessibilityAn
|
|
|
61
61
|
import { KeybindingsRegistry, KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
62
62
|
import { FocusedViewContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
|
|
63
63
|
|
|
64
|
-
const debugCategory = ( localize(
|
|
64
|
+
const debugCategory = ( localize(5233, "Debug"));
|
|
65
65
|
registerColors();
|
|
66
66
|
( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugStatusContribution, LifecyclePhase.Eventually);
|
|
67
67
|
( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugProgressContribution, LifecyclePhase.Eventually);
|
|
@@ -77,9 +77,9 @@ if (isWeb) {
|
|
|
77
77
|
ctor: StartDebugQuickAccessProvider,
|
|
78
78
|
prefix: DEBUG_QUICK_ACCESS_PREFIX,
|
|
79
79
|
contextKey: 'inLaunchConfigurationsPicker',
|
|
80
|
-
placeholder: ( localize(
|
|
80
|
+
placeholder: ( localize(5234, "Type the name of a launch configuration to run.")),
|
|
81
81
|
helpEntries: [{
|
|
82
|
-
description: ( localize(
|
|
82
|
+
description: ( localize(5235, "Start Debugging")),
|
|
83
83
|
commandId: SELECT_AND_START_ID,
|
|
84
84
|
commandCenterOrder: 50
|
|
85
85
|
}]
|
|
@@ -88,8 +88,8 @@ if (isWeb) {
|
|
|
88
88
|
ctor: DebugConsoleQuickAccess,
|
|
89
89
|
prefix: DEBUG_CONSOLE_QUICK_ACCESS_PREFIX,
|
|
90
90
|
contextKey: 'inDebugConsolePicker',
|
|
91
|
-
placeholder: ( localize(
|
|
92
|
-
helpEntries: [{ description: ( localize(
|
|
91
|
+
placeholder: ( localize(5236, "Type the name of a debug console to open.")),
|
|
92
|
+
helpEntries: [{ description: ( localize(5237, "Show All Debug Consoles")), commandId: SELECT_DEBUG_CONSOLE_ID }]
|
|
93
93
|
});
|
|
94
94
|
registerEditorContribution('editor.contrib.callStack', CallStackEditorContribution, EditorContributionInstantiation.AfterFirstRender);
|
|
95
95
|
registerEditorContribution(BREAKPOINT_EDITOR_CONTRIBUTION_ID, BreakpointEditorContribution, EditorContributionInstantiation.AfterFirstRender);
|
|
@@ -107,7 +107,7 @@ const registerDebugCommandPaletteItem = (id, title, when, precondition) => {
|
|
|
107
107
|
});
|
|
108
108
|
};
|
|
109
109
|
registerDebugCommandPaletteItem(RESTART_SESSION_ID, RESTART_LABEL);
|
|
110
|
-
registerDebugCommandPaletteItem(TERMINATE_THREAD_ID, ( localize2(
|
|
110
|
+
registerDebugCommandPaletteItem(TERMINATE_THREAD_ID, ( localize2(5238, "Terminate Thread")), CONTEXT_IN_DEBUG_MODE);
|
|
111
111
|
registerDebugCommandPaletteItem(STEP_OVER_ID, STEP_OVER_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
112
112
|
registerDebugCommandPaletteItem(STEP_INTO_ID, STEP_INTO_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
113
113
|
registerDebugCommandPaletteItem(STEP_INTO_TARGET_ID, STEP_INTO_TARGET_LABEL, CONTEXT_IN_DEBUG_MODE, ( ContextKeyExpr.and(CONTEXT_STEP_INTO_TARGETS_SUPPORTED, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')))));
|
|
@@ -117,12 +117,12 @@ registerDebugCommandPaletteItem(DISCONNECT_ID, DISCONNECT_LABEL, CONTEXT_IN_DEBU
|
|
|
117
117
|
registerDebugCommandPaletteItem(DISCONNECT_AND_SUSPEND_ID, DISCONNECT_AND_SUSPEND_LABEL, CONTEXT_IN_DEBUG_MODE, ( ContextKeyExpr.or(CONTEXT_FOCUSED_SESSION_IS_ATTACH, ( ContextKeyExpr.and(CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED, CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED)))));
|
|
118
118
|
registerDebugCommandPaletteItem(STOP_ID, STOP_LABEL, CONTEXT_IN_DEBUG_MODE, ( ContextKeyExpr.or(( CONTEXT_FOCUSED_SESSION_IS_ATTACH.toNegated()), CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED)));
|
|
119
119
|
registerDebugCommandPaletteItem(CONTINUE_ID, CONTINUE_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
120
|
-
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(
|
|
121
|
-
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(
|
|
120
|
+
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(5239, "Jump to Cursor")), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
|
|
121
|
+
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(5240, "Set Next Statement")), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
|
|
122
122
|
registerDebugCommandPaletteItem(RunToCursorAction.ID, RunToCursorAction.LABEL, CONTEXT_DEBUGGERS_AVAILABLE);
|
|
123
123
|
registerDebugCommandPaletteItem(SelectionToReplAction.ID, SelectionToReplAction.LABEL, CONTEXT_IN_DEBUG_MODE);
|
|
124
124
|
registerDebugCommandPaletteItem(SelectionToWatchExpressionsAction.ID, SelectionToWatchExpressionsAction.LABEL);
|
|
125
|
-
registerDebugCommandPaletteItem(TOGGLE_INLINE_BREAKPOINT_ID, ( localize2(
|
|
125
|
+
registerDebugCommandPaletteItem(TOGGLE_INLINE_BREAKPOINT_ID, ( localize2(5241, "Inline Breakpoint")));
|
|
126
126
|
registerDebugCommandPaletteItem(DEBUG_START_COMMAND_ID, DEBUG_START_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(State.Initializing))))));
|
|
127
127
|
registerDebugCommandPaletteItem(DEBUG_RUN_COMMAND_ID, DEBUG_RUN_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(State.Initializing))))));
|
|
128
128
|
registerDebugCommandPaletteItem(SELECT_AND_START_ID, SELECT_AND_START_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(State.Initializing))))));
|
|
@@ -158,30 +158,30 @@ registerDebugViewMenuItem(MenuId.DebugCallStackContext, CONTINUE_ID, CONTINUE_LA
|
|
|
158
158
|
registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_OVER_ID, STEP_OVER_LABEL, 20, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
159
159
|
registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_INTO_ID, STEP_INTO_LABEL, 30, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
160
160
|
registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_OUT_ID, STEP_OUT_LABEL, 40, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
161
|
-
registerDebugViewMenuItem(MenuId.DebugCallStackContext, TERMINATE_THREAD_ID, ( localize(
|
|
162
|
-
registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_FRAME_ID, ( localize(
|
|
163
|
-
registerDebugViewMenuItem(MenuId.DebugCallStackContext, COPY_STACK_TRACE_ID, ( localize(
|
|
164
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, VIEW_MEMORY_ID, ( localize(
|
|
165
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, SET_VARIABLE_ID, ( localize(
|
|
161
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, TERMINATE_THREAD_ID, ( localize(5238, "Terminate Thread")), 10, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), undefined, 'termination');
|
|
162
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_FRAME_ID, ( localize(5242, "Restart Frame")), 10, ( ContextKeyExpr.and(( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame')), CONTEXT_RESTART_FRAME_SUPPORTED)), CONTEXT_STACK_FRAME_SUPPORTS_RESTART);
|
|
163
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, COPY_STACK_TRACE_ID, ( localize(5243, "Copy Call Stack")), 20, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame')), undefined, '3_modification');
|
|
164
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, VIEW_MEMORY_ID, ( localize(5244, "View Binary Data")), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, 'inline', debugInspectMemory);
|
|
165
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, SET_VARIABLE_ID, ( localize(5245, "Set Value")), 10, ( ContextKeyExpr.or(CONTEXT_SET_VARIABLE_SUPPORTED, ( ContextKeyExpr.and(CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, CONTEXT_SET_EXPRESSION_SUPPORTED)))), ( CONTEXT_VARIABLE_IS_READONLY.toNegated()), '3_modification');
|
|
166
166
|
registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_VALUE_ID, COPY_VALUE_LABEL, 10, undefined, undefined, '5_cutcopypaste');
|
|
167
167
|
registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_EVALUATE_PATH_ID, COPY_EVALUATE_PATH_LABEL, 20, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, '5_cutcopypaste');
|
|
168
168
|
registerDebugViewMenuItem(MenuId.DebugVariablesContext, ADD_TO_WATCH_ID, ADD_TO_WATCH_LABEL, 100, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, 'z_commands');
|
|
169
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(
|
|
170
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(
|
|
171
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(
|
|
172
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, VIEW_MEMORY_ID, ( localize(
|
|
169
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(5246, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
|
|
170
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(5247, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
|
|
171
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(5248, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
|
|
172
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, VIEW_MEMORY_ID, ( localize(5244, "View Binary Data")), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, 'inline', debugInspectMemory);
|
|
173
173
|
registerDebugViewMenuItem(MenuId.DebugHoverContext, COPY_VALUE_ID, COPY_VALUE_LABEL, 10, undefined, undefined, '5_cutcopypaste');
|
|
174
174
|
registerDebugViewMenuItem(MenuId.DebugHoverContext, COPY_EVALUATE_PATH_ID, COPY_EVALUATE_PATH_LABEL, 20, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, '5_cutcopypaste');
|
|
175
175
|
registerDebugViewMenuItem(MenuId.DebugHoverContext, ADD_TO_WATCH_ID, ADD_TO_WATCH_LABEL, 100, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, 'z_commands');
|
|
176
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(
|
|
177
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(
|
|
178
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(
|
|
176
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(5246, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
|
|
177
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(5247, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
|
|
178
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(5248, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
|
|
179
179
|
registerDebugViewMenuItem(MenuId.DebugWatchContext, ADD_WATCH_ID, ADD_WATCH_LABEL, 10, undefined, undefined, '3_modification');
|
|
180
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, EDIT_EXPRESSION_COMMAND_ID, ( localize(
|
|
181
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, SET_EXPRESSION_COMMAND_ID, ( localize(
|
|
182
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, COPY_VALUE_ID, ( localize(
|
|
183
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, VIEW_MEMORY_ID, ( localize(
|
|
184
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID, ( localize(
|
|
180
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, EDIT_EXPRESSION_COMMAND_ID, ( localize(5249, "Edit Expression")), 20, ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), undefined, '3_modification');
|
|
181
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, SET_EXPRESSION_COMMAND_ID, ( localize(5245, "Set Value")), 30, ( ContextKeyExpr.or(( ContextKeyExpr.and(( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), CONTEXT_SET_EXPRESSION_SUPPORTED)), ( ContextKeyExpr.and(( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('variable')), CONTEXT_SET_VARIABLE_SUPPORTED)))), ( CONTEXT_VARIABLE_IS_READONLY.toNegated()), '3_modification');
|
|
182
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, COPY_VALUE_ID, ( localize(5250, "Copy Value")), 40, ( ContextKeyExpr.or(( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('variable')))), CONTEXT_IN_DEBUG_MODE, '3_modification');
|
|
183
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, VIEW_MEMORY_ID, ( localize(5244, "View Binary Data")), 10, CONTEXT_CAN_VIEW_MEMORY, undefined, 'inline', debugInspectMemory);
|
|
184
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID, ( localize(5251, "Remove Expression")), 20, ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), undefined, 'inline', watchExpressionRemove);
|
|
185
185
|
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_WATCH_EXPRESSIONS_COMMAND_ID, REMOVE_WATCH_EXPRESSIONS_LABEL, 20, undefined, undefined, 'z_commands');
|
|
186
186
|
registerDebugViewMenuItem(MenuId.NotebookVariablesContext, COPY_NOTEBOOK_VARIABLE_VALUE_ID, COPY_NOTEBOOK_VARIABLE_VALUE_LABEL, 20, CONTEXT_VARIABLE_VALUE);
|
|
187
187
|
KeybindingsRegistry.registerKeybindingRule({
|
|
@@ -213,12 +213,12 @@ if (isMacintosh) {
|
|
|
213
213
|
registerTouchBarEntry(RESTART_SESSION_ID, RESTART_LABEL, 5, CONTEXT_IN_DEBUG_MODE, ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/restart-tb.png')));
|
|
214
214
|
registerTouchBarEntry(STOP_ID, STOP_LABEL, 6, CONTEXT_IN_DEBUG_MODE, ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/stop-tb.png')));
|
|
215
215
|
}
|
|
216
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, rememberDefaultAction: true, title: ( localize2(
|
|
216
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, rememberDefaultAction: true, title: ( localize2(5252, "Run or Debug...")), icon: debugRun, group: 'navigation', order: -1 });
|
|
217
217
|
MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
218
218
|
submenu: MenuId.MenubarDebugMenu,
|
|
219
219
|
title: {
|
|
220
|
-
...( localize2(
|
|
221
|
-
mnemonicTitle: ( localize(
|
|
220
|
+
...( localize2(5253, "Run")),
|
|
221
|
+
mnemonicTitle: ( localize(5254, "&&Run"))
|
|
222
222
|
},
|
|
223
223
|
order: 6
|
|
224
224
|
});
|
|
@@ -226,7 +226,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
226
226
|
group: '1_debug',
|
|
227
227
|
command: {
|
|
228
228
|
id: DEBUG_START_COMMAND_ID,
|
|
229
|
-
title: ( localize(
|
|
229
|
+
title: ( localize(5255, "&&Start Debugging"))
|
|
230
230
|
},
|
|
231
231
|
order: 1,
|
|
232
232
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -235,7 +235,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
235
235
|
group: '1_debug',
|
|
236
236
|
command: {
|
|
237
237
|
id: DEBUG_RUN_COMMAND_ID,
|
|
238
|
-
title: ( localize(
|
|
238
|
+
title: ( localize(5256, "Run &&Without Debugging"))
|
|
239
239
|
},
|
|
240
240
|
order: 2,
|
|
241
241
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -244,7 +244,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
244
244
|
group: '1_debug',
|
|
245
245
|
command: {
|
|
246
246
|
id: STOP_ID,
|
|
247
|
-
title: ( localize(
|
|
247
|
+
title: ( localize(5257, "&&Stop Debugging")),
|
|
248
248
|
precondition: CONTEXT_IN_DEBUG_MODE
|
|
249
249
|
},
|
|
250
250
|
order: 3,
|
|
@@ -254,7 +254,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
254
254
|
group: '1_debug',
|
|
255
255
|
command: {
|
|
256
256
|
id: RESTART_SESSION_ID,
|
|
257
|
-
title: ( localize(
|
|
257
|
+
title: ( localize(5258, "&&Restart Debugging")),
|
|
258
258
|
precondition: CONTEXT_IN_DEBUG_MODE
|
|
259
259
|
},
|
|
260
260
|
order: 4,
|
|
@@ -264,7 +264,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
264
264
|
group: '2_configuration',
|
|
265
265
|
command: {
|
|
266
266
|
id: ADD_CONFIGURATION_ID,
|
|
267
|
-
title: ( localize(
|
|
267
|
+
title: ( localize(5259, "A&&dd Configuration..."))
|
|
268
268
|
},
|
|
269
269
|
order: 2,
|
|
270
270
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -273,7 +273,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
273
273
|
group: '3_step',
|
|
274
274
|
command: {
|
|
275
275
|
id: STEP_OVER_ID,
|
|
276
|
-
title: ( localize(
|
|
276
|
+
title: ( localize(5260, "Step &&Over")),
|
|
277
277
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
278
278
|
},
|
|
279
279
|
order: 1,
|
|
@@ -283,7 +283,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
283
283
|
group: '3_step',
|
|
284
284
|
command: {
|
|
285
285
|
id: STEP_INTO_ID,
|
|
286
|
-
title: ( localize(
|
|
286
|
+
title: ( localize(5261, "Step &&Into")),
|
|
287
287
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
288
288
|
},
|
|
289
289
|
order: 2,
|
|
@@ -293,7 +293,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
293
293
|
group: '3_step',
|
|
294
294
|
command: {
|
|
295
295
|
id: STEP_OUT_ID,
|
|
296
|
-
title: ( localize(
|
|
296
|
+
title: ( localize(5262, "Step O&&ut")),
|
|
297
297
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
298
298
|
},
|
|
299
299
|
order: 3,
|
|
@@ -303,7 +303,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
303
303
|
group: '3_step',
|
|
304
304
|
command: {
|
|
305
305
|
id: CONTINUE_ID,
|
|
306
|
-
title: ( localize(
|
|
306
|
+
title: ( localize(5263, "&&Continue")),
|
|
307
307
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
308
308
|
},
|
|
309
309
|
order: 4,
|
|
@@ -313,14 +313,14 @@ MenuRegistry.appendMenuItem(MenuId.MenubarNewBreakpointMenu, {
|
|
|
313
313
|
group: '1_breakpoints',
|
|
314
314
|
command: {
|
|
315
315
|
id: TOGGLE_INLINE_BREAKPOINT_ID,
|
|
316
|
-
title: ( localize(
|
|
316
|
+
title: ( localize(5264, "Inline Breakp&&oint"))
|
|
317
317
|
},
|
|
318
318
|
order: 2,
|
|
319
319
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
320
320
|
});
|
|
321
321
|
MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
322
322
|
group: '4_new_breakpoint',
|
|
323
|
-
title: ( localize(
|
|
323
|
+
title: ( localize(5265, "&&New Breakpoint")),
|
|
324
324
|
submenu: MenuId.MenubarNewBreakpointMenu,
|
|
325
325
|
order: 2,
|
|
326
326
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -329,13 +329,13 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
329
329
|
group: 'z_install',
|
|
330
330
|
command: {
|
|
331
331
|
id: 'debug.installAdditionalDebuggers',
|
|
332
|
-
title: ( localize(
|
|
332
|
+
title: ( localize(5266, "&&Install Additional Debuggers..."))
|
|
333
333
|
},
|
|
334
334
|
order: 1
|
|
335
335
|
});
|
|
336
336
|
const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
|
|
337
337
|
id: DEBUG_PANEL_ID,
|
|
338
|
-
title: ( localize2(
|
|
338
|
+
title: ( localize2(5267, "Debug Console")),
|
|
339
339
|
icon: debugConsoleViewIcon,
|
|
340
340
|
ctorDescriptor: ( new SyncDescriptor(
|
|
341
341
|
ViewPaneContainer,
|
|
@@ -347,7 +347,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).regis
|
|
|
347
347
|
}, ViewContainerLocation.Panel, { doNotRegisterOpenCommand: true });
|
|
348
348
|
( Registry.as(Extensions$2.ViewsRegistry)).registerViews([{
|
|
349
349
|
id: REPL_VIEW_ID,
|
|
350
|
-
name: ( localize2(
|
|
350
|
+
name: ( localize2(5267, "Debug Console")),
|
|
351
351
|
containerIcon: debugConsoleViewIcon,
|
|
352
352
|
canToggleVisibility: true,
|
|
353
353
|
canMoveView: true,
|
|
@@ -355,17 +355,17 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).regis
|
|
|
355
355
|
ctorDescriptor: ( new SyncDescriptor(Repl)),
|
|
356
356
|
openCommandActionDescriptor: {
|
|
357
357
|
id: 'workbench.debug.action.toggleRepl',
|
|
358
|
-
mnemonicTitle: ( localize(
|
|
358
|
+
mnemonicTitle: ( localize(5268, "De&&bug Console")),
|
|
359
359
|
keybindings: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyY },
|
|
360
360
|
order: 2
|
|
361
361
|
}
|
|
362
362
|
}], VIEW_CONTAINER);
|
|
363
363
|
const viewContainer = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
|
|
364
364
|
id: VIEWLET_ID,
|
|
365
|
-
title: ( localize2(
|
|
365
|
+
title: ( localize2(5269, "Run and Debug")),
|
|
366
366
|
openCommandActionDescriptor: {
|
|
367
367
|
id: VIEWLET_ID,
|
|
368
|
-
mnemonicTitle: ( localize(
|
|
368
|
+
mnemonicTitle: ( localize(5270, "&&Run")),
|
|
369
369
|
keybindings: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyD },
|
|
370
370
|
order: 3
|
|
371
371
|
},
|
|
@@ -375,49 +375,49 @@ const viewContainer = ( Registry.as(Extensions$2.ViewContainersRegistry)).regist
|
|
|
375
375
|
order: 3,
|
|
376
376
|
}, ViewContainerLocation.Sidebar);
|
|
377
377
|
const viewsRegistry = ( Registry.as(Extensions$2.ViewsRegistry));
|
|
378
|
-
viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name: ( localize2(
|
|
379
|
-
viewsRegistry.registerViews([{ id: WATCH_VIEW_ID, name: ( localize2(
|
|
380
|
-
viewsRegistry.registerViews([{ id: CALLSTACK_VIEW_ID, name: ( localize2(
|
|
381
|
-
viewsRegistry.registerViews([{ id: BREAKPOINTS_VIEW_ID, name: ( localize2(
|
|
378
|
+
viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name: ( localize2(5271, "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);
|
|
379
|
+
viewsRegistry.registerViews([{ id: WATCH_VIEW_ID, name: ( localize2(5272, "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);
|
|
380
|
+
viewsRegistry.registerViews([{ id: CALLSTACK_VIEW_ID, name: ( localize2(5273, "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);
|
|
381
|
+
viewsRegistry.registerViews([{ id: BREAKPOINTS_VIEW_ID, name: ( localize2(5274, "Breakpoints")), containerIcon: breakpointsViewIcon, ctorDescriptor: ( new SyncDescriptor(BreakpointsView)), order: 40, weight: 20, canToggleVisibility: true, canMoveView: true, focusCommand: { id: 'workbench.debug.action.focusBreakpointsView' }, when: ( ContextKeyExpr.or(CONTEXT_BREAKPOINTS_EXIST, ( CONTEXT_DEBUG_UX.isEqualTo('default')), CONTEXT_HAS_DEBUGGED)) }], viewContainer);
|
|
382
382
|
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);
|
|
383
|
-
viewsRegistry.registerViews([{ id: LOADED_SCRIPTS_VIEW_ID, name: ( localize2(
|
|
384
|
-
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( localize(
|
|
383
|
+
viewsRegistry.registerViews([{ id: LOADED_SCRIPTS_VIEW_ID, name: ( localize2(5275, "Loaded Scripts")), containerIcon: loadedScriptsViewIcon, ctorDescriptor: ( new SyncDescriptor(LoadedScriptsView)), order: 35, weight: 5, canToggleVisibility: true, canMoveView: true, collapsed: true, when: ( ContextKeyExpr.and(CONTEXT_LOADED_SCRIPTS_SUPPORTED, ( CONTEXT_DEBUG_UX.isEqualTo('default')))) }], viewContainer);
|
|
384
|
+
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( localize(5276, "Disassembly"))), [( new SyncDescriptor(DisassemblyViewInput))]);
|
|
385
385
|
const configurationRegistry = ( Registry.as(Extensions$3.Configuration));
|
|
386
386
|
configurationRegistry.registerConfiguration({
|
|
387
387
|
id: 'debug',
|
|
388
388
|
order: 20,
|
|
389
|
-
title: ( localize(
|
|
389
|
+
title: ( localize(5277, "Debug")),
|
|
390
390
|
type: 'object',
|
|
391
391
|
properties: {
|
|
392
392
|
'debug.showVariableTypes': {
|
|
393
393
|
type: 'boolean',
|
|
394
|
-
description: ( localize(
|
|
394
|
+
description: ( localize(5278, "Show variable type in variable pane during debug session")),
|
|
395
395
|
default: false
|
|
396
396
|
},
|
|
397
397
|
'debug.allowBreakpointsEverywhere': {
|
|
398
398
|
type: 'boolean',
|
|
399
|
-
description: ( localize(
|
|
399
|
+
description: ( localize(5279, "Allow setting breakpoints in any file.")),
|
|
400
400
|
default: false
|
|
401
401
|
},
|
|
402
402
|
'debug.gutterMiddleClickAction': {
|
|
403
403
|
type: 'string',
|
|
404
404
|
enum: ['logpoint', 'conditionalBreakpoint', 'triggeredBreakpoint', 'none'],
|
|
405
405
|
description: ( localize(
|
|
406
|
-
|
|
406
|
+
5280,
|
|
407
407
|
'Controls the action to perform when clicking the editor gutter with the middle mouse button.'
|
|
408
408
|
)),
|
|
409
409
|
enumDescriptions: [
|
|
410
|
-
( localize(
|
|
411
|
-
( localize(
|
|
412
|
-
( localize(
|
|
413
|
-
( localize(
|
|
410
|
+
( localize(5281, "Add Logpoint.")),
|
|
411
|
+
( localize(5282, "Add Conditional Breakpoint.")),
|
|
412
|
+
( localize(5283, "Add Triggered Breakpoint.")),
|
|
413
|
+
( localize(5284, "Don't perform any action.")),
|
|
414
414
|
],
|
|
415
415
|
default: 'logpoint',
|
|
416
416
|
},
|
|
417
417
|
'debug.openExplorerOnEnd': {
|
|
418
418
|
type: 'boolean',
|
|
419
419
|
description: ( localize(
|
|
420
|
-
|
|
420
|
+
5285,
|
|
421
421
|
"Automatically open the explorer view at the end of a debug session."
|
|
422
422
|
)),
|
|
423
423
|
default: false
|
|
@@ -425,7 +425,7 @@ configurationRegistry.registerConfiguration({
|
|
|
425
425
|
'debug.closeReadonlyTabsOnEnd': {
|
|
426
426
|
type: 'boolean',
|
|
427
427
|
description: ( localize(
|
|
428
|
-
|
|
428
|
+
5286,
|
|
429
429
|
"At the end of a debug session, all the read-only tabs associated with that session will be closed"
|
|
430
430
|
)),
|
|
431
431
|
default: false
|
|
@@ -433,12 +433,12 @@ configurationRegistry.registerConfiguration({
|
|
|
433
433
|
'debug.inlineValues': {
|
|
434
434
|
type: 'string',
|
|
435
435
|
'enum': ['on', 'off', 'auto'],
|
|
436
|
-
description: ( localize(
|
|
436
|
+
description: ( localize(5287, "Show variable values inline in editor while debugging.")),
|
|
437
437
|
'enumDescriptions': [
|
|
438
|
-
( localize(
|
|
439
|
-
( localize(
|
|
438
|
+
( localize(5288, "Always show variable values inline in editor while debugging.")),
|
|
439
|
+
( localize(5289, "Never show variable values inline in editor while debugging.")),
|
|
440
440
|
( localize(
|
|
441
|
-
|
|
441
|
+
5290,
|
|
442
442
|
"Show variable values inline in editor while debugging when the language supports inline value locations."
|
|
443
443
|
)),
|
|
444
444
|
],
|
|
@@ -447,32 +447,32 @@ configurationRegistry.registerConfiguration({
|
|
|
447
447
|
'debug.toolBarLocation': {
|
|
448
448
|
enum: ['floating', 'docked', 'commandCenter', 'hidden'],
|
|
449
449
|
markdownDescription: ( localize(
|
|
450
|
-
|
|
450
|
+
5291,
|
|
451
451
|
"Controls the location of the debug toolbar. Either `floating` in all views, `docked` in the debug view, `commandCenter` (requires {0}), or `hidden`.",
|
|
452
452
|
'`#window.commandCenter#`'
|
|
453
453
|
)),
|
|
454
454
|
default: 'floating',
|
|
455
455
|
markdownEnumDescriptions: [
|
|
456
|
-
( localize(
|
|
457
|
-
( localize(
|
|
458
|
-
( localize(
|
|
459
|
-
( localize(
|
|
456
|
+
( localize(5292, "Show debug toolbar in all views.")),
|
|
457
|
+
( localize(5293, "Show debug toolbar only in debug views.")),
|
|
458
|
+
( localize(5294, "`(Experimental)` Show debug toolbar in the command center.")),
|
|
459
|
+
( localize(5295, "Do not show debug toolbar.")),
|
|
460
460
|
]
|
|
461
461
|
},
|
|
462
462
|
'debug.showInStatusBar': {
|
|
463
463
|
enum: ['never', 'always', 'onFirstSessionStart'],
|
|
464
|
-
enumDescriptions: [( localize(
|
|
465
|
-
|
|
464
|
+
enumDescriptions: [( localize(5296, "Never show debug in Status bar")), ( localize(5297, "Always show debug in Status bar")), ( localize(
|
|
465
|
+
5298,
|
|
466
466
|
"Show debug in Status bar only after debug was started for the first time"
|
|
467
467
|
))],
|
|
468
|
-
description: ( localize(
|
|
468
|
+
description: ( localize(5299, "Controls when the debug Status bar should be visible.")),
|
|
469
469
|
default: 'onFirstSessionStart'
|
|
470
470
|
},
|
|
471
471
|
'debug.internalConsoleOptions': INTERNAL_CONSOLE_OPTIONS_SCHEMA,
|
|
472
472
|
'debug.console.closeOnEnd': {
|
|
473
473
|
type: 'boolean',
|
|
474
474
|
description: ( localize(
|
|
475
|
-
|
|
475
|
+
5300,
|
|
476
476
|
"Controls if the Debug Console should be automatically closed when the debug session ends."
|
|
477
477
|
)),
|
|
478
478
|
default: false
|
|
@@ -480,7 +480,7 @@ configurationRegistry.registerConfiguration({
|
|
|
480
480
|
'debug.terminal.clearBeforeReusing': {
|
|
481
481
|
type: 'boolean',
|
|
482
482
|
description: ( localize(
|
|
483
|
-
|
|
483
|
+
5301,
|
|
484
484
|
"Before starting a new debug session in an integrated or external terminal, clear the terminal."
|
|
485
485
|
)),
|
|
486
486
|
default: false
|
|
@@ -488,43 +488,43 @@ configurationRegistry.registerConfiguration({
|
|
|
488
488
|
'debug.openDebug': {
|
|
489
489
|
enum: ['neverOpen', 'openOnSessionStart', 'openOnFirstSessionStart', 'openOnDebugBreak'],
|
|
490
490
|
default: 'openOnDebugBreak',
|
|
491
|
-
description: ( localize(
|
|
491
|
+
description: ( localize(5302, "Controls when the debug view should open."))
|
|
492
492
|
},
|
|
493
493
|
'debug.showSubSessionsInToolBar': {
|
|
494
494
|
type: 'boolean',
|
|
495
495
|
description: ( localize(
|
|
496
|
-
|
|
496
|
+
5303,
|
|
497
497
|
"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."
|
|
498
498
|
)),
|
|
499
499
|
default: false
|
|
500
500
|
},
|
|
501
501
|
'debug.console.fontSize': {
|
|
502
502
|
type: 'number',
|
|
503
|
-
description: ( localize(
|
|
503
|
+
description: ( localize(5304, "Controls the font size in pixels in the Debug Console.")),
|
|
504
504
|
default: isMacintosh ? 12 : 14,
|
|
505
505
|
},
|
|
506
506
|
'debug.console.fontFamily': {
|
|
507
507
|
type: 'string',
|
|
508
|
-
description: ( localize(
|
|
508
|
+
description: ( localize(5305, "Controls the font family in the Debug Console.")),
|
|
509
509
|
default: 'default'
|
|
510
510
|
},
|
|
511
511
|
'debug.console.lineHeight': {
|
|
512
512
|
type: 'number',
|
|
513
513
|
description: ( localize(
|
|
514
|
-
|
|
514
|
+
5306,
|
|
515
515
|
"Controls the line height in pixels in the Debug Console. Use 0 to compute the line height from the font size."
|
|
516
516
|
)),
|
|
517
517
|
default: 0
|
|
518
518
|
},
|
|
519
519
|
'debug.console.wordWrap': {
|
|
520
520
|
type: 'boolean',
|
|
521
|
-
description: ( localize(
|
|
521
|
+
description: ( localize(5307, "Controls if the lines should wrap in the Debug Console.")),
|
|
522
522
|
default: true
|
|
523
523
|
},
|
|
524
524
|
'debug.console.historySuggestions': {
|
|
525
525
|
type: 'boolean',
|
|
526
526
|
description: ( localize(
|
|
527
|
-
|
|
527
|
+
5308,
|
|
528
528
|
"Controls if the Debug Console should suggest previously typed input."
|
|
529
529
|
)),
|
|
530
530
|
default: true
|
|
@@ -532,7 +532,7 @@ configurationRegistry.registerConfiguration({
|
|
|
532
532
|
'debug.console.collapseIdenticalLines': {
|
|
533
533
|
type: 'boolean',
|
|
534
534
|
description: ( localize(
|
|
535
|
-
|
|
535
|
+
5309,
|
|
536
536
|
"Controls if the Debug Console should collapse identical lines and show a number of occurrences with a badge."
|
|
537
537
|
)),
|
|
538
538
|
default: true
|
|
@@ -540,7 +540,7 @@ configurationRegistry.registerConfiguration({
|
|
|
540
540
|
'debug.console.acceptSuggestionOnEnter': {
|
|
541
541
|
enum: ['off', 'on'],
|
|
542
542
|
description: ( localize(
|
|
543
|
-
|
|
543
|
+
5310,
|
|
544
544
|
"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."
|
|
545
545
|
)),
|
|
546
546
|
default: 'off'
|
|
@@ -548,7 +548,7 @@ configurationRegistry.registerConfiguration({
|
|
|
548
548
|
'launch': {
|
|
549
549
|
type: 'object',
|
|
550
550
|
description: ( localize(
|
|
551
|
-
|
|
551
|
+
5311,
|
|
552
552
|
"Global debug launch configuration. Should be used as an alternative to 'launch.json' that is shared across workspaces."
|
|
553
553
|
)),
|
|
554
554
|
default: { configurations: [], compounds: [] },
|
|
@@ -558,7 +558,7 @@ configurationRegistry.registerConfiguration({
|
|
|
558
558
|
'debug.focusWindowOnBreak': {
|
|
559
559
|
type: 'boolean',
|
|
560
560
|
description: ( localize(
|
|
561
|
-
|
|
561
|
+
5312,
|
|
562
562
|
"Controls whether the workbench window should be focused when the debugger breaks."
|
|
563
563
|
)),
|
|
564
564
|
default: true
|
|
@@ -566,16 +566,16 @@ configurationRegistry.registerConfiguration({
|
|
|
566
566
|
'debug.focusEditorOnBreak': {
|
|
567
567
|
type: 'boolean',
|
|
568
568
|
description: ( localize(
|
|
569
|
-
|
|
569
|
+
5313,
|
|
570
570
|
"Controls whether the editor should be focused when the debugger breaks."
|
|
571
571
|
)),
|
|
572
572
|
default: true
|
|
573
573
|
},
|
|
574
574
|
'debug.onTaskErrors': {
|
|
575
575
|
enum: ['debugAnyway', 'showErrors', 'prompt', 'abort'],
|
|
576
|
-
enumDescriptions: [( localize(
|
|
576
|
+
enumDescriptions: [( localize(5314, "Ignore task errors and start debugging.")), ( localize(5315, "Show the Problems view and do not start debugging.")), ( localize(5316, "Prompt user.")), ( localize(5317, "Cancel debugging."))],
|
|
577
577
|
description: ( localize(
|
|
578
|
-
|
|
578
|
+
5318,
|
|
579
579
|
"Controls what to do when errors are encountered after running a preLaunchTask."
|
|
580
580
|
)),
|
|
581
581
|
default: 'prompt'
|
|
@@ -583,7 +583,7 @@ configurationRegistry.registerConfiguration({
|
|
|
583
583
|
'debug.showBreakpointsInOverviewRuler': {
|
|
584
584
|
type: 'boolean',
|
|
585
585
|
description: ( localize(
|
|
586
|
-
|
|
586
|
+
5319,
|
|
587
587
|
"Controls whether breakpoints should be shown in the overview ruler."
|
|
588
588
|
)),
|
|
589
589
|
default: false
|
|
@@ -591,45 +591,45 @@ configurationRegistry.registerConfiguration({
|
|
|
591
591
|
'debug.showInlineBreakpointCandidates': {
|
|
592
592
|
type: 'boolean',
|
|
593
593
|
description: ( localize(
|
|
594
|
-
|
|
594
|
+
5320,
|
|
595
595
|
"Controls whether inline breakpoints candidate decorations should be shown in the editor while debugging."
|
|
596
596
|
)),
|
|
597
597
|
default: true
|
|
598
598
|
},
|
|
599
599
|
'debug.saveBeforeStart': {
|
|
600
|
-
description: ( localize(
|
|
600
|
+
description: ( localize(5321, "Controls what editors to save before starting a debug session.")),
|
|
601
601
|
enum: ['allEditorsInActiveGroup', 'nonUntitledEditorsInActiveGroup', 'none'],
|
|
602
602
|
enumDescriptions: [
|
|
603
603
|
( localize(
|
|
604
|
-
|
|
604
|
+
5322,
|
|
605
605
|
"Save all editors in the active group before starting a debug session."
|
|
606
606
|
)),
|
|
607
607
|
( localize(
|
|
608
|
-
|
|
608
|
+
5323,
|
|
609
609
|
"Save all editors in the active group except untitled ones before starting a debug session."
|
|
610
610
|
)),
|
|
611
|
-
( localize(
|
|
611
|
+
( localize(5324, "Don't save any editors before starting a debug session.")),
|
|
612
612
|
],
|
|
613
613
|
default: 'allEditorsInActiveGroup',
|
|
614
614
|
scope: ConfigurationScope.LANGUAGE_OVERRIDABLE
|
|
615
615
|
},
|
|
616
616
|
'debug.confirmOnExit': {
|
|
617
617
|
description: ( localize(
|
|
618
|
-
|
|
618
|
+
5325,
|
|
619
619
|
"Controls whether to confirm when the window closes if there are active debug sessions."
|
|
620
620
|
)),
|
|
621
621
|
type: 'string',
|
|
622
622
|
enum: ['never', 'always'],
|
|
623
623
|
enumDescriptions: [
|
|
624
|
-
( localize(
|
|
625
|
-
( localize(
|
|
624
|
+
( localize(5326, "Never confirm.")),
|
|
625
|
+
( localize(5327, "Always confirm if there are debug sessions.")),
|
|
626
626
|
],
|
|
627
627
|
default: 'never'
|
|
628
628
|
},
|
|
629
629
|
'debug.disassemblyView.showSourceCode': {
|
|
630
630
|
type: 'boolean',
|
|
631
631
|
default: true,
|
|
632
|
-
description: ( localize(
|
|
632
|
+
description: ( localize(5328, "Show Source Code in Disassembly View."))
|
|
633
633
|
},
|
|
634
634
|
'debug.autoExpandLazyVariables': {
|
|
635
635
|
type: 'string',
|
|
@@ -637,26 +637,26 @@ configurationRegistry.registerConfiguration({
|
|
|
637
637
|
default: 'auto',
|
|
638
638
|
enumDescriptions: [
|
|
639
639
|
( localize(
|
|
640
|
-
|
|
640
|
+
5329,
|
|
641
641
|
"When in screen reader optimized mode, automatically expand lazy variables."
|
|
642
642
|
)),
|
|
643
|
-
( localize(
|
|
644
|
-
( localize(
|
|
643
|
+
( localize(5330, "Always automatically expand lazy variables.")),
|
|
644
|
+
( localize(5331, "Never automatically expand lazy variables."))
|
|
645
645
|
],
|
|
646
646
|
description: ( localize(
|
|
647
|
-
|
|
647
|
+
5332,
|
|
648
648
|
"Controls whether variables that are lazily resolved, such as getters, are automatically resolved and expanded by the debugger."
|
|
649
649
|
))
|
|
650
650
|
},
|
|
651
651
|
'debug.enableStatusBarColor': {
|
|
652
652
|
type: 'boolean',
|
|
653
|
-
description: ( localize(
|
|
653
|
+
description: ( localize(5333, "Color of the Status bar when debugger is active.")),
|
|
654
654
|
default: true
|
|
655
655
|
},
|
|
656
656
|
'debug.hideLauncherWhileDebugging': {
|
|
657
657
|
type: 'boolean',
|
|
658
658
|
markdownDescription: ( localize(
|
|
659
|
-
|
|
659
|
+
5334,
|
|
660
660
|
"Hide 'Start Debugging' control in title bar of 'Run and Debug' view while debugging is active. Only relevant when {0} is not `docked`.",
|
|
661
661
|
'`#debug.toolBarLocation#`'
|
|
662
662
|
)),
|
|
@@ -665,7 +665,7 @@ configurationRegistry.registerConfiguration({
|
|
|
665
665
|
'debug.hideSlowPreLaunchWarning': {
|
|
666
666
|
type: 'boolean',
|
|
667
667
|
markdownDescription: ( localize(
|
|
668
|
-
|
|
668
|
+
5335,
|
|
669
669
|
"Hide the warning shown when a `preLaunchTask` has been running for a while."
|
|
670
670
|
)),
|
|
671
671
|
default: false
|