@codingame/monaco-vscode-debug-service-override 24.3.0 → 25.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +16 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +121 -112
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugChatIntegration.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugChatIntegration.js +14 -14
- 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 +25 -25
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +9 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +26 -22
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +69 -59
- 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/loadedScriptsView.js +7 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugViewlet.css +13 -13
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.js +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/runAndDebugAccessibilityHelp.js +16 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +10 -10
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +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.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +17 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +2 -2
|
@@ -65,7 +65,7 @@ import { DebugChatContextContribution } from './debugChatIntegration.js';
|
|
|
65
65
|
|
|
66
66
|
registerCss(debug_contribution);
|
|
67
67
|
registerCss(debugHover);
|
|
68
|
-
const debugCategory = ( localize(
|
|
68
|
+
const debugCategory = ( localize(6588, "Debug"));
|
|
69
69
|
registerColors();
|
|
70
70
|
( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugStatusContribution, LifecyclePhase.Eventually);
|
|
71
71
|
( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugProgressContribution, LifecyclePhase.Eventually);
|
|
@@ -82,9 +82,9 @@ registerWorkbenchContribution2(DebugChatContextContribution.ID, DebugChatContext
|
|
|
82
82
|
ctor: StartDebugQuickAccessProvider,
|
|
83
83
|
prefix: DEBUG_QUICK_ACCESS_PREFIX,
|
|
84
84
|
contextKey: 'inLaunchConfigurationsPicker',
|
|
85
|
-
placeholder: ( localize(
|
|
85
|
+
placeholder: ( localize(6589, "Type the name of a launch configuration to run.")),
|
|
86
86
|
helpEntries: [{
|
|
87
|
-
description: ( localize(
|
|
87
|
+
description: ( localize(6590, "Start Debugging")),
|
|
88
88
|
commandId: SELECT_AND_START_ID,
|
|
89
89
|
commandCenterOrder: 50
|
|
90
90
|
}]
|
|
@@ -93,8 +93,8 @@ registerWorkbenchContribution2(DebugChatContextContribution.ID, DebugChatContext
|
|
|
93
93
|
ctor: DebugConsoleQuickAccess,
|
|
94
94
|
prefix: DEBUG_CONSOLE_QUICK_ACCESS_PREFIX,
|
|
95
95
|
contextKey: 'inDebugConsolePicker',
|
|
96
|
-
placeholder: ( localize(
|
|
97
|
-
helpEntries: [{ description: ( localize(
|
|
96
|
+
placeholder: ( localize(6591, "Type the name of a debug console to open.")),
|
|
97
|
+
helpEntries: [{ description: ( localize(6592, "Show All Debug Consoles")), commandId: SELECT_DEBUG_CONSOLE_ID }]
|
|
98
98
|
});
|
|
99
99
|
registerEditorContribution('editor.contrib.callStack', CallStackEditorContribution, EditorContributionInstantiation.AfterFirstRender);
|
|
100
100
|
registerEditorContribution(BREAKPOINT_EDITOR_CONTRIBUTION_ID, BreakpointEditorContribution, EditorContributionInstantiation.AfterFirstRender);
|
|
@@ -112,7 +112,7 @@ const registerDebugCommandPaletteItem = (id, title, when, precondition) => {
|
|
|
112
112
|
});
|
|
113
113
|
};
|
|
114
114
|
registerDebugCommandPaletteItem(RESTART_SESSION_ID, RESTART_LABEL);
|
|
115
|
-
registerDebugCommandPaletteItem(TERMINATE_THREAD_ID, ( localize2(
|
|
115
|
+
registerDebugCommandPaletteItem(TERMINATE_THREAD_ID, ( localize2(6593, "Terminate Thread")), CONTEXT_IN_DEBUG_MODE, CONTEXT_TERMINATE_THREADS_SUPPORTED);
|
|
116
116
|
registerDebugCommandPaletteItem(STEP_OVER_ID, STEP_OVER_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
117
117
|
registerDebugCommandPaletteItem(STEP_INTO_ID, STEP_INTO_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
118
118
|
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')))));
|
|
@@ -122,12 +122,12 @@ registerDebugCommandPaletteItem(DISCONNECT_ID, DISCONNECT_LABEL, CONTEXT_IN_DEBU
|
|
|
122
122
|
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)))));
|
|
123
123
|
registerDebugCommandPaletteItem(STOP_ID, STOP_LABEL, CONTEXT_IN_DEBUG_MODE, ( ContextKeyExpr.or(( CONTEXT_FOCUSED_SESSION_IS_ATTACH.toNegated()), CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED)));
|
|
124
124
|
registerDebugCommandPaletteItem(CONTINUE_ID, CONTINUE_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
125
|
-
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(
|
|
126
|
-
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(
|
|
125
|
+
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(6594, "Jump to Cursor")), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
|
|
126
|
+
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(6595, "Set Next Statement")), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
|
|
127
127
|
registerDebugCommandPaletteItem(RunToCursorAction.ID, RunToCursorAction.LABEL, CONTEXT_DEBUGGERS_AVAILABLE);
|
|
128
128
|
registerDebugCommandPaletteItem(SelectionToReplAction.ID, SelectionToReplAction.LABEL, CONTEXT_IN_DEBUG_MODE);
|
|
129
129
|
registerDebugCommandPaletteItem(SelectionToWatchExpressionsAction.ID, SelectionToWatchExpressionsAction.LABEL);
|
|
130
|
-
registerDebugCommandPaletteItem(TOGGLE_INLINE_BREAKPOINT_ID, ( localize2(
|
|
130
|
+
registerDebugCommandPaletteItem(TOGGLE_INLINE_BREAKPOINT_ID, ( localize2(6596, "Inline Breakpoint")));
|
|
131
131
|
registerDebugCommandPaletteItem(DEBUG_START_COMMAND_ID, DEBUG_START_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(State.Initializing))))));
|
|
132
132
|
registerDebugCommandPaletteItem(DEBUG_RUN_COMMAND_ID, DEBUG_RUN_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(State.Initializing))))));
|
|
133
133
|
registerDebugCommandPaletteItem(SELECT_AND_START_ID, SELECT_AND_START_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(State.Initializing))))));
|
|
@@ -163,35 +163,35 @@ registerDebugViewMenuItem(MenuId.DebugCallStackContext, CONTINUE_ID, CONTINUE_LA
|
|
|
163
163
|
registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_OVER_ID, STEP_OVER_LABEL, 20, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
164
164
|
registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_INTO_ID, STEP_INTO_LABEL, 30, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
165
165
|
registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_OUT_ID, STEP_OUT_LABEL, 40, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
166
|
-
registerDebugViewMenuItem(MenuId.DebugCallStackContext, TERMINATE_THREAD_ID, ( localize(
|
|
167
|
-
registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_FRAME_ID, ( localize(
|
|
168
|
-
registerDebugViewMenuItem(MenuId.DebugCallStackContext, COPY_STACK_TRACE_ID, ( localize(
|
|
169
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, VIEW_MEMORY_ID, ( localize(
|
|
170
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, SET_VARIABLE_ID, ( localize(
|
|
166
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, TERMINATE_THREAD_ID, ( localize(6593, "Terminate Thread")), 10, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), CONTEXT_TERMINATE_THREADS_SUPPORTED, 'termination');
|
|
167
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_FRAME_ID, ( localize(6597, "Restart Frame")), 10, ( ContextKeyExpr.and(( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame')), CONTEXT_RESTART_FRAME_SUPPORTED)), CONTEXT_STACK_FRAME_SUPPORTS_RESTART);
|
|
168
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, COPY_STACK_TRACE_ID, ( localize(6598, "Copy Call Stack")), 20, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame')), undefined, '3_modification');
|
|
169
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, VIEW_MEMORY_ID, ( localize(6599, "View Binary Data")), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, 'inline', debugInspectMemory);
|
|
170
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, SET_VARIABLE_ID, ( localize(6600, "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');
|
|
171
171
|
registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_VALUE_ID, COPY_VALUE_LABEL, 10, undefined, undefined, '5_cutcopypaste');
|
|
172
172
|
registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_EVALUATE_PATH_ID, COPY_EVALUATE_PATH_LABEL, 20, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, '5_cutcopypaste');
|
|
173
173
|
registerDebugViewMenuItem(MenuId.DebugVariablesContext, ADD_TO_WATCH_ID, ADD_TO_WATCH_LABEL, 100, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, 'z_commands');
|
|
174
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(
|
|
175
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(
|
|
176
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(
|
|
177
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, VIEW_MEMORY_ID, ( localize(
|
|
174
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(6601, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
|
|
175
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(6602, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
|
|
176
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(6603, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
|
|
177
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, VIEW_MEMORY_ID, ( localize(6599, "View Binary Data")), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, 'inline', debugInspectMemory);
|
|
178
178
|
registerDebugViewMenuItem(MenuId.DebugHoverContext, COPY_VALUE_ID, COPY_VALUE_LABEL, 10, undefined, undefined, '5_cutcopypaste');
|
|
179
179
|
registerDebugViewMenuItem(MenuId.DebugHoverContext, COPY_EVALUATE_PATH_ID, COPY_EVALUATE_PATH_LABEL, 20, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, '5_cutcopypaste');
|
|
180
180
|
registerDebugViewMenuItem(MenuId.DebugHoverContext, ADD_TO_WATCH_ID, ADD_TO_WATCH_LABEL, 100, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, 'z_commands');
|
|
181
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(
|
|
182
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(
|
|
183
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(
|
|
181
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(6601, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
|
|
182
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(6602, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
|
|
183
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(6603, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
|
|
184
184
|
registerDebugViewMenuItem(MenuId.DebugWatchContext, ADD_WATCH_ID, ADD_WATCH_LABEL, 10, undefined, undefined, '3_modification');
|
|
185
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, EDIT_EXPRESSION_COMMAND_ID, ( localize(
|
|
186
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, SET_EXPRESSION_COMMAND_ID, ( localize(
|
|
187
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, COPY_VALUE_ID, ( localize(
|
|
185
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, EDIT_EXPRESSION_COMMAND_ID, ( localize(6604, "Edit Expression")), 20, ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), undefined, '3_modification');
|
|
186
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, SET_EXPRESSION_COMMAND_ID, ( localize(6600, "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');
|
|
187
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, COPY_VALUE_ID, ( localize(6605, "Copy Value")), 40, ( ContextKeyExpr.or(( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('variable')))), CONTEXT_IN_DEBUG_MODE, '3_modification');
|
|
188
188
|
registerDebugViewMenuItem(MenuId.DebugWatchContext, COPY_EVALUATE_PATH_ID, COPY_EVALUATE_PATH_LABEL, 50, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, CONTEXT_IN_DEBUG_MODE, '3_modification');
|
|
189
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, VIEW_MEMORY_ID, ( localize(
|
|
190
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID, ( localize(
|
|
189
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, VIEW_MEMORY_ID, ( localize(6599, "View Binary Data")), 10, CONTEXT_CAN_VIEW_MEMORY, undefined, 'inline', debugInspectMemory);
|
|
190
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID, ( localize(6606, "Remove Expression")), 20, ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), undefined, 'inline', watchExpressionRemove);
|
|
191
191
|
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_WATCH_EXPRESSIONS_COMMAND_ID, REMOVE_WATCH_EXPRESSIONS_LABEL, 20, undefined, undefined, 'z_commands');
|
|
192
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(
|
|
193
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(
|
|
194
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(
|
|
192
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(6601, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
|
|
193
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(6602, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
|
|
194
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(6603, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
|
|
195
195
|
registerDebugViewMenuItem(MenuId.NotebookVariablesContext, COPY_NOTEBOOK_VARIABLE_VALUE_ID, COPY_NOTEBOOK_VARIABLE_VALUE_LABEL, 20, CONTEXT_VARIABLE_VALUE);
|
|
196
196
|
KeybindingsRegistry.registerKeybindingRule({
|
|
197
197
|
id: COPY_VALUE_ID,
|
|
@@ -222,12 +222,12 @@ if (isMacintosh) {
|
|
|
222
222
|
registerTouchBarEntry(RESTART_SESSION_ID, RESTART_LABEL, 5, CONTEXT_IN_DEBUG_MODE, ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/restart-tb.png')));
|
|
223
223
|
registerTouchBarEntry(STOP_ID, STOP_LABEL, 6, CONTEXT_IN_DEBUG_MODE, ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/stop-tb.png')));
|
|
224
224
|
}
|
|
225
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, isSplitButton: { togglePrimaryAction: true }, title: ( localize2(
|
|
225
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, isSplitButton: { togglePrimaryAction: true }, title: ( localize2(6607, "Run or Debug...")), icon: debugRun, group: 'navigation', order: -1 });
|
|
226
226
|
MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
227
227
|
submenu: MenuId.MenubarDebugMenu,
|
|
228
228
|
title: {
|
|
229
|
-
...( localize2(
|
|
230
|
-
mnemonicTitle: ( localize(
|
|
229
|
+
...( localize2(6608, "Run")),
|
|
230
|
+
mnemonicTitle: ( localize(6609, "&&Run"))
|
|
231
231
|
},
|
|
232
232
|
order: 6
|
|
233
233
|
});
|
|
@@ -235,7 +235,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
235
235
|
group: '1_debug',
|
|
236
236
|
command: {
|
|
237
237
|
id: DEBUG_START_COMMAND_ID,
|
|
238
|
-
title: ( localize(
|
|
238
|
+
title: ( localize(6610, "&&Start Debugging"))
|
|
239
239
|
},
|
|
240
240
|
order: 1,
|
|
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: DEBUG_RUN_COMMAND_ID,
|
|
247
|
-
title: ( localize(
|
|
247
|
+
title: ( localize(6611, "Run &&Without Debugging"))
|
|
248
248
|
},
|
|
249
249
|
order: 2,
|
|
250
250
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -253,7 +253,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
253
253
|
group: '1_debug',
|
|
254
254
|
command: {
|
|
255
255
|
id: STOP_ID,
|
|
256
|
-
title: ( localize(
|
|
256
|
+
title: ( localize(6612, "&&Stop Debugging")),
|
|
257
257
|
precondition: CONTEXT_IN_DEBUG_MODE
|
|
258
258
|
},
|
|
259
259
|
order: 3,
|
|
@@ -263,7 +263,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
263
263
|
group: '1_debug',
|
|
264
264
|
command: {
|
|
265
265
|
id: RESTART_SESSION_ID,
|
|
266
|
-
title: ( localize(
|
|
266
|
+
title: ( localize(6613, "&&Restart Debugging")),
|
|
267
267
|
precondition: CONTEXT_IN_DEBUG_MODE
|
|
268
268
|
},
|
|
269
269
|
order: 4,
|
|
@@ -273,7 +273,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
273
273
|
group: '2_configuration',
|
|
274
274
|
command: {
|
|
275
275
|
id: ADD_CONFIGURATION_ID,
|
|
276
|
-
title: ( localize(
|
|
276
|
+
title: ( localize(6614, "A&&dd Configuration..."))
|
|
277
277
|
},
|
|
278
278
|
order: 2,
|
|
279
279
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -282,7 +282,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
282
282
|
group: '3_step',
|
|
283
283
|
command: {
|
|
284
284
|
id: STEP_OVER_ID,
|
|
285
|
-
title: ( localize(
|
|
285
|
+
title: ( localize(6615, "Step &&Over")),
|
|
286
286
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
287
287
|
},
|
|
288
288
|
order: 1,
|
|
@@ -292,7 +292,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
292
292
|
group: '3_step',
|
|
293
293
|
command: {
|
|
294
294
|
id: STEP_INTO_ID,
|
|
295
|
-
title: ( localize(
|
|
295
|
+
title: ( localize(6616, "Step &&Into")),
|
|
296
296
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
297
297
|
},
|
|
298
298
|
order: 2,
|
|
@@ -302,7 +302,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
302
302
|
group: '3_step',
|
|
303
303
|
command: {
|
|
304
304
|
id: STEP_OUT_ID,
|
|
305
|
-
title: ( localize(
|
|
305
|
+
title: ( localize(6617, "Step O&&ut")),
|
|
306
306
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
307
307
|
},
|
|
308
308
|
order: 3,
|
|
@@ -312,7 +312,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
312
312
|
group: '3_step',
|
|
313
313
|
command: {
|
|
314
314
|
id: CONTINUE_ID,
|
|
315
|
-
title: ( localize(
|
|
315
|
+
title: ( localize(6618, "&&Continue")),
|
|
316
316
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
317
317
|
},
|
|
318
318
|
order: 4,
|
|
@@ -322,14 +322,14 @@ MenuRegistry.appendMenuItem(MenuId.MenubarNewBreakpointMenu, {
|
|
|
322
322
|
group: '1_breakpoints',
|
|
323
323
|
command: {
|
|
324
324
|
id: TOGGLE_INLINE_BREAKPOINT_ID,
|
|
325
|
-
title: ( localize(
|
|
325
|
+
title: ( localize(6619, "Inline Breakp&&oint"))
|
|
326
326
|
},
|
|
327
327
|
order: 2,
|
|
328
328
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
329
329
|
});
|
|
330
330
|
MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
331
331
|
group: '4_new_breakpoint',
|
|
332
|
-
title: ( localize(
|
|
332
|
+
title: ( localize(6620, "&&New Breakpoint")),
|
|
333
333
|
submenu: MenuId.MenubarNewBreakpointMenu,
|
|
334
334
|
order: 2,
|
|
335
335
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -347,7 +347,7 @@ MenuRegistry.appendMenuItem(MenuId.DebugDisassemblyContext, {
|
|
|
347
347
|
group: '3_breakpoints',
|
|
348
348
|
command: {
|
|
349
349
|
id: TOGGLE_BREAKPOINT_ID,
|
|
350
|
-
title: ( localize(
|
|
350
|
+
title: ( localize(6621, "Toggle Breakpoint")),
|
|
351
351
|
},
|
|
352
352
|
order: 2,
|
|
353
353
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -356,13 +356,13 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
356
356
|
group: 'z_install',
|
|
357
357
|
command: {
|
|
358
358
|
id: 'debug.installAdditionalDebuggers',
|
|
359
|
-
title: ( localize(
|
|
359
|
+
title: ( localize(6622, "&&Install Additional Debuggers..."))
|
|
360
360
|
},
|
|
361
361
|
order: 1
|
|
362
362
|
});
|
|
363
363
|
const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
|
|
364
364
|
id: DEBUG_PANEL_ID,
|
|
365
|
-
title: ( localize2(
|
|
365
|
+
title: ( localize2(6623, "Debug Console")),
|
|
366
366
|
icon: debugConsoleViewIcon,
|
|
367
367
|
ctorDescriptor: ( new SyncDescriptor(
|
|
368
368
|
ViewPaneContainer,
|
|
@@ -374,7 +374,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).regis
|
|
|
374
374
|
}, ViewContainerLocation.Panel, { doNotRegisterOpenCommand: true });
|
|
375
375
|
( Registry.as(Extensions$2.ViewsRegistry)).registerViews([{
|
|
376
376
|
id: REPL_VIEW_ID,
|
|
377
|
-
name: ( localize2(
|
|
377
|
+
name: ( localize2(6623, "Debug Console")),
|
|
378
378
|
containerIcon: debugConsoleViewIcon,
|
|
379
379
|
canToggleVisibility: true,
|
|
380
380
|
canMoveView: true,
|
|
@@ -382,17 +382,17 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).regis
|
|
|
382
382
|
ctorDescriptor: ( new SyncDescriptor(Repl)),
|
|
383
383
|
openCommandActionDescriptor: {
|
|
384
384
|
id: 'workbench.debug.action.toggleRepl',
|
|
385
|
-
mnemonicTitle: ( localize(
|
|
385
|
+
mnemonicTitle: ( localize(6624, "De&&bug Console")),
|
|
386
386
|
keybindings: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyY },
|
|
387
387
|
order: 2
|
|
388
388
|
}
|
|
389
389
|
}], VIEW_CONTAINER);
|
|
390
390
|
const viewContainer = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
|
|
391
391
|
id: VIEWLET_ID,
|
|
392
|
-
title: ( localize2(
|
|
392
|
+
title: ( localize2(6625, "Run and Debug")),
|
|
393
393
|
openCommandActionDescriptor: {
|
|
394
394
|
id: VIEWLET_ID,
|
|
395
|
-
mnemonicTitle: ( localize(
|
|
395
|
+
mnemonicTitle: ( localize(6626, "&&Run")),
|
|
396
396
|
keybindings: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyD },
|
|
397
397
|
order: 3
|
|
398
398
|
},
|
|
@@ -402,49 +402,49 @@ const viewContainer = ( Registry.as(Extensions$2.ViewContainersRegistry)).regist
|
|
|
402
402
|
order: 3,
|
|
403
403
|
}, ViewContainerLocation.Sidebar);
|
|
404
404
|
const viewsRegistry = ( Registry.as(Extensions$2.ViewsRegistry));
|
|
405
|
-
viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name: ( localize2(
|
|
406
|
-
viewsRegistry.registerViews([{ id: WATCH_VIEW_ID, name: ( localize2(
|
|
407
|
-
viewsRegistry.registerViews([{ id: CALLSTACK_VIEW_ID, name: ( localize2(
|
|
408
|
-
viewsRegistry.registerViews([{ id: BREAKPOINTS_VIEW_ID, name: ( localize2(
|
|
405
|
+
viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name: ( localize2(6627, "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);
|
|
406
|
+
viewsRegistry.registerViews([{ id: WATCH_VIEW_ID, name: ( localize2(6628, "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);
|
|
407
|
+
viewsRegistry.registerViews([{ id: CALLSTACK_VIEW_ID, name: ( localize2(6629, "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);
|
|
408
|
+
viewsRegistry.registerViews([{ id: BREAKPOINTS_VIEW_ID, name: ( localize2(6630, "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);
|
|
409
409
|
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);
|
|
410
|
-
viewsRegistry.registerViews([{ id: LOADED_SCRIPTS_VIEW_ID, name: ( localize2(
|
|
411
|
-
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( localize(
|
|
410
|
+
viewsRegistry.registerViews([{ id: LOADED_SCRIPTS_VIEW_ID, name: ( localize2(6631, "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);
|
|
411
|
+
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( localize(6632, "Disassembly"))), [( new SyncDescriptor(DisassemblyViewInput))]);
|
|
412
412
|
const configurationRegistry = ( Registry.as(Extensions$3.Configuration));
|
|
413
413
|
configurationRegistry.registerConfiguration({
|
|
414
414
|
id: 'debug',
|
|
415
415
|
order: 20,
|
|
416
|
-
title: ( localize(
|
|
416
|
+
title: ( localize(6633, "Debug")),
|
|
417
417
|
type: 'object',
|
|
418
418
|
properties: {
|
|
419
419
|
'debug.showVariableTypes': {
|
|
420
420
|
type: 'boolean',
|
|
421
|
-
description: ( localize(
|
|
421
|
+
description: ( localize(6634, "Show variable type in variable pane during debug session")),
|
|
422
422
|
default: false
|
|
423
423
|
},
|
|
424
424
|
'debug.allowBreakpointsEverywhere': {
|
|
425
425
|
type: 'boolean',
|
|
426
|
-
description: ( localize(
|
|
426
|
+
description: ( localize(6635, "Allow setting breakpoints in any file.")),
|
|
427
427
|
default: false
|
|
428
428
|
},
|
|
429
429
|
'debug.gutterMiddleClickAction': {
|
|
430
430
|
type: 'string',
|
|
431
431
|
enum: ['logpoint', 'conditionalBreakpoint', 'triggeredBreakpoint', 'none'],
|
|
432
432
|
description: ( localize(
|
|
433
|
-
|
|
433
|
+
6636,
|
|
434
434
|
'Controls the action to perform when clicking the editor gutter with the middle mouse button.'
|
|
435
435
|
)),
|
|
436
436
|
enumDescriptions: [
|
|
437
|
-
( localize(
|
|
438
|
-
( localize(
|
|
439
|
-
( localize(
|
|
440
|
-
( localize(
|
|
437
|
+
( localize(6637, "Add Logpoint.")),
|
|
438
|
+
( localize(6638, "Add Conditional Breakpoint.")),
|
|
439
|
+
( localize(6639, "Add Triggered Breakpoint.")),
|
|
440
|
+
( localize(6640, "Don't perform any action.")),
|
|
441
441
|
],
|
|
442
442
|
default: 'logpoint',
|
|
443
443
|
},
|
|
444
444
|
'debug.openExplorerOnEnd': {
|
|
445
445
|
type: 'boolean',
|
|
446
446
|
description: ( localize(
|
|
447
|
-
|
|
447
|
+
6641,
|
|
448
448
|
"Automatically open the explorer view at the end of a debug session."
|
|
449
449
|
)),
|
|
450
450
|
default: false
|
|
@@ -452,7 +452,7 @@ configurationRegistry.registerConfiguration({
|
|
|
452
452
|
'debug.closeReadonlyTabsOnEnd': {
|
|
453
453
|
type: 'boolean',
|
|
454
454
|
description: ( localize(
|
|
455
|
-
|
|
455
|
+
6642,
|
|
456
456
|
"At the end of a debug session, all the read-only tabs associated with that session will be closed"
|
|
457
457
|
)),
|
|
458
458
|
default: false
|
|
@@ -460,12 +460,12 @@ configurationRegistry.registerConfiguration({
|
|
|
460
460
|
'debug.inlineValues': {
|
|
461
461
|
type: 'string',
|
|
462
462
|
'enum': ['on', 'off', 'auto'],
|
|
463
|
-
description: ( localize(
|
|
463
|
+
description: ( localize(6643, "Show variable values inline in editor while debugging.")),
|
|
464
464
|
'enumDescriptions': [
|
|
465
|
-
( localize(
|
|
466
|
-
( localize(
|
|
465
|
+
( localize(6644, "Always show variable values inline in editor while debugging.")),
|
|
466
|
+
( localize(6645, "Never show variable values inline in editor while debugging.")),
|
|
467
467
|
( localize(
|
|
468
|
-
|
|
468
|
+
6646,
|
|
469
469
|
"Show variable values inline in editor while debugging when the language supports inline value locations."
|
|
470
470
|
)),
|
|
471
471
|
],
|
|
@@ -474,32 +474,32 @@ configurationRegistry.registerConfiguration({
|
|
|
474
474
|
'debug.toolBarLocation': {
|
|
475
475
|
enum: ['floating', 'docked', 'commandCenter', 'hidden'],
|
|
476
476
|
markdownDescription: ( localize(
|
|
477
|
-
|
|
477
|
+
6647,
|
|
478
478
|
"Controls the location of the debug toolbar. Either `floating` in all views, `docked` in the debug view, `commandCenter` (requires {0}), or `hidden`.",
|
|
479
479
|
'`#window.commandCenter#`'
|
|
480
480
|
)),
|
|
481
481
|
default: 'floating',
|
|
482
482
|
markdownEnumDescriptions: [
|
|
483
|
-
( localize(
|
|
484
|
-
( localize(
|
|
485
|
-
( localize(
|
|
486
|
-
( localize(
|
|
483
|
+
( localize(6648, "Show debug toolbar in all views.")),
|
|
484
|
+
( localize(6649, "Show debug toolbar only in debug views.")),
|
|
485
|
+
( localize(6650, "`(Experimental)` Show debug toolbar in the command center.")),
|
|
486
|
+
( localize(6651, "Do not show debug toolbar.")),
|
|
487
487
|
]
|
|
488
488
|
},
|
|
489
489
|
'debug.showInStatusBar': {
|
|
490
490
|
enum: ['never', 'always', 'onFirstSessionStart'],
|
|
491
|
-
enumDescriptions: [( localize(
|
|
492
|
-
|
|
491
|
+
enumDescriptions: [( localize(6652, "Never show debug item in status bar")), ( localize(6653, "Always show debug item in status bar")), ( localize(
|
|
492
|
+
6654,
|
|
493
493
|
"Show debug item in status bar only after debug was started for the first time"
|
|
494
494
|
))],
|
|
495
|
-
description: ( localize(
|
|
495
|
+
description: ( localize(6655, "Controls when the debug status bar item should be visible.")),
|
|
496
496
|
default: 'onFirstSessionStart'
|
|
497
497
|
},
|
|
498
498
|
'debug.internalConsoleOptions': INTERNAL_CONSOLE_OPTIONS_SCHEMA,
|
|
499
499
|
'debug.console.closeOnEnd': {
|
|
500
500
|
type: 'boolean',
|
|
501
501
|
description: ( localize(
|
|
502
|
-
|
|
502
|
+
6656,
|
|
503
503
|
"Controls if the Debug Console should be automatically closed when the debug session ends."
|
|
504
504
|
)),
|
|
505
505
|
default: false
|
|
@@ -507,7 +507,7 @@ configurationRegistry.registerConfiguration({
|
|
|
507
507
|
'debug.terminal.clearBeforeReusing': {
|
|
508
508
|
type: 'boolean',
|
|
509
509
|
description: ( localize(
|
|
510
|
-
|
|
510
|
+
6657,
|
|
511
511
|
"Before starting a new debug session in an integrated or external terminal, clear the terminal."
|
|
512
512
|
)),
|
|
513
513
|
default: false
|
|
@@ -515,43 +515,43 @@ configurationRegistry.registerConfiguration({
|
|
|
515
515
|
'debug.openDebug': {
|
|
516
516
|
enum: ['neverOpen', 'openOnSessionStart', 'openOnFirstSessionStart', 'openOnDebugBreak'],
|
|
517
517
|
default: 'openOnDebugBreak',
|
|
518
|
-
description: ( localize(
|
|
518
|
+
description: ( localize(6658, "Controls when the debug view should open."))
|
|
519
519
|
},
|
|
520
520
|
'debug.showSubSessionsInToolBar': {
|
|
521
521
|
type: 'boolean',
|
|
522
522
|
description: ( localize(
|
|
523
|
-
|
|
523
|
+
6659,
|
|
524
524
|
"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."
|
|
525
525
|
)),
|
|
526
526
|
default: false
|
|
527
527
|
},
|
|
528
528
|
'debug.console.fontSize': {
|
|
529
529
|
type: 'number',
|
|
530
|
-
description: ( localize(
|
|
530
|
+
description: ( localize(6660, "Controls the font size in pixels in the Debug Console.")),
|
|
531
531
|
default: isMacintosh ? 12 : 14,
|
|
532
532
|
},
|
|
533
533
|
'debug.console.fontFamily': {
|
|
534
534
|
type: 'string',
|
|
535
|
-
description: ( localize(
|
|
535
|
+
description: ( localize(6661, "Controls the font family in the Debug Console.")),
|
|
536
536
|
default: 'default'
|
|
537
537
|
},
|
|
538
538
|
'debug.console.lineHeight': {
|
|
539
539
|
type: 'number',
|
|
540
540
|
description: ( localize(
|
|
541
|
-
|
|
541
|
+
6662,
|
|
542
542
|
"Controls the line height in pixels in the Debug Console. Use 0 to compute the line height from the font size."
|
|
543
543
|
)),
|
|
544
544
|
default: 0
|
|
545
545
|
},
|
|
546
546
|
'debug.console.wordWrap': {
|
|
547
547
|
type: 'boolean',
|
|
548
|
-
description: ( localize(
|
|
548
|
+
description: ( localize(6663, "Controls if the lines should wrap in the Debug Console.")),
|
|
549
549
|
default: true
|
|
550
550
|
},
|
|
551
551
|
'debug.console.historySuggestions': {
|
|
552
552
|
type: 'boolean',
|
|
553
553
|
description: ( localize(
|
|
554
|
-
|
|
554
|
+
6664,
|
|
555
555
|
"Controls if the Debug Console should suggest previously typed input."
|
|
556
556
|
)),
|
|
557
557
|
default: true
|
|
@@ -559,7 +559,7 @@ configurationRegistry.registerConfiguration({
|
|
|
559
559
|
'debug.console.collapseIdenticalLines': {
|
|
560
560
|
type: 'boolean',
|
|
561
561
|
description: ( localize(
|
|
562
|
-
|
|
562
|
+
6665,
|
|
563
563
|
"Controls if the Debug Console should collapse identical lines and show a number of occurrences with a badge."
|
|
564
564
|
)),
|
|
565
565
|
default: true
|
|
@@ -567,20 +567,20 @@ configurationRegistry.registerConfiguration({
|
|
|
567
567
|
'debug.console.acceptSuggestionOnEnter': {
|
|
568
568
|
enum: ['off', 'on'],
|
|
569
569
|
description: ( localize(
|
|
570
|
-
|
|
570
|
+
6666,
|
|
571
571
|
"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."
|
|
572
572
|
)),
|
|
573
573
|
default: 'off'
|
|
574
574
|
},
|
|
575
575
|
'debug.console.maximumLines': {
|
|
576
576
|
type: 'number',
|
|
577
|
-
description: ( localize(
|
|
577
|
+
description: ( localize(6667, "Controls the maximum number of lines in the Debug Console.")),
|
|
578
578
|
default: 10000
|
|
579
579
|
},
|
|
580
580
|
'launch': {
|
|
581
581
|
type: 'object',
|
|
582
582
|
description: ( localize(
|
|
583
|
-
|
|
583
|
+
6668,
|
|
584
584
|
"Global debug launch configuration. Should be used as an alternative to 'launch.json' that is shared across workspaces."
|
|
585
585
|
)),
|
|
586
586
|
default: { configurations: [], compounds: [] },
|
|
@@ -590,7 +590,7 @@ configurationRegistry.registerConfiguration({
|
|
|
590
590
|
'debug.focusWindowOnBreak': {
|
|
591
591
|
type: 'boolean',
|
|
592
592
|
description: ( localize(
|
|
593
|
-
|
|
593
|
+
6669,
|
|
594
594
|
"Controls whether the workbench window should be focused when the debugger breaks."
|
|
595
595
|
)),
|
|
596
596
|
default: true
|
|
@@ -598,16 +598,16 @@ configurationRegistry.registerConfiguration({
|
|
|
598
598
|
'debug.focusEditorOnBreak': {
|
|
599
599
|
type: 'boolean',
|
|
600
600
|
description: ( localize(
|
|
601
|
-
|
|
601
|
+
6670,
|
|
602
602
|
"Controls whether the editor should be focused when the debugger breaks."
|
|
603
603
|
)),
|
|
604
604
|
default: true
|
|
605
605
|
},
|
|
606
606
|
'debug.onTaskErrors': {
|
|
607
607
|
enum: ['debugAnyway', 'showErrors', 'prompt', 'abort'],
|
|
608
|
-
enumDescriptions: [( localize(
|
|
608
|
+
enumDescriptions: [( localize(6671, "Ignore task errors and start debugging.")), ( localize(6672, "Show the Problems view and do not start debugging.")), ( localize(6673, "Prompt user.")), ( localize(6674, "Cancel debugging."))],
|
|
609
609
|
description: ( localize(
|
|
610
|
-
|
|
610
|
+
6675,
|
|
611
611
|
"Controls what to do when errors are encountered after running a preLaunchTask."
|
|
612
612
|
)),
|
|
613
613
|
default: 'prompt'
|
|
@@ -615,53 +615,62 @@ configurationRegistry.registerConfiguration({
|
|
|
615
615
|
'debug.showBreakpointsInOverviewRuler': {
|
|
616
616
|
type: 'boolean',
|
|
617
617
|
description: ( localize(
|
|
618
|
-
|
|
618
|
+
6676,
|
|
619
619
|
"Controls whether breakpoints should be shown in the overview ruler."
|
|
620
620
|
)),
|
|
621
621
|
default: false
|
|
622
622
|
},
|
|
623
|
+
'debug.breakpointsView.presentation': {
|
|
624
|
+
type: 'string',
|
|
625
|
+
description: ( localize(
|
|
626
|
+
6677,
|
|
627
|
+
"Controls whether breakpoints are displayed in a tree view grouped by file, or as a flat list."
|
|
628
|
+
)),
|
|
629
|
+
enum: ['tree', 'list'],
|
|
630
|
+
default: 'list'
|
|
631
|
+
},
|
|
623
632
|
'debug.showInlineBreakpointCandidates': {
|
|
624
633
|
type: 'boolean',
|
|
625
634
|
description: ( localize(
|
|
626
|
-
|
|
635
|
+
6678,
|
|
627
636
|
"Controls whether inline breakpoints candidate decorations should be shown in the editor while debugging."
|
|
628
637
|
)),
|
|
629
638
|
default: true
|
|
630
639
|
},
|
|
631
640
|
'debug.saveBeforeStart': {
|
|
632
|
-
description: ( localize(
|
|
641
|
+
description: ( localize(6679, "Controls what editors to save before starting a debug session.")),
|
|
633
642
|
enum: ['allEditorsInActiveGroup', 'nonUntitledEditorsInActiveGroup', 'none'],
|
|
634
643
|
enumDescriptions: [
|
|
635
644
|
( localize(
|
|
636
|
-
|
|
645
|
+
6680,
|
|
637
646
|
"Save all editors in the active group before starting a debug session."
|
|
638
647
|
)),
|
|
639
648
|
( localize(
|
|
640
|
-
|
|
649
|
+
6681,
|
|
641
650
|
"Save all editors in the active group except untitled ones before starting a debug session."
|
|
642
651
|
)),
|
|
643
|
-
( localize(
|
|
652
|
+
( localize(6682, "Don't save any editors before starting a debug session.")),
|
|
644
653
|
],
|
|
645
654
|
default: 'allEditorsInActiveGroup',
|
|
646
655
|
scope: ConfigurationScope.LANGUAGE_OVERRIDABLE
|
|
647
656
|
},
|
|
648
657
|
'debug.confirmOnExit': {
|
|
649
658
|
description: ( localize(
|
|
650
|
-
|
|
659
|
+
6683,
|
|
651
660
|
"Controls whether to confirm when the window closes if there are active debug sessions."
|
|
652
661
|
)),
|
|
653
662
|
type: 'string',
|
|
654
663
|
enum: ['never', 'always'],
|
|
655
664
|
enumDescriptions: [
|
|
656
|
-
( localize(
|
|
657
|
-
( localize(
|
|
665
|
+
( localize(6684, "Never confirm.")),
|
|
666
|
+
( localize(6685, "Always confirm if there are debug sessions.")),
|
|
658
667
|
],
|
|
659
668
|
default: 'never'
|
|
660
669
|
},
|
|
661
670
|
'debug.disassemblyView.showSourceCode': {
|
|
662
671
|
type: 'boolean',
|
|
663
672
|
default: true,
|
|
664
|
-
description: ( localize(
|
|
673
|
+
description: ( localize(6686, "Show Source Code in Disassembly View."))
|
|
665
674
|
},
|
|
666
675
|
'debug.autoExpandLazyVariables': {
|
|
667
676
|
type: 'string',
|
|
@@ -669,26 +678,26 @@ configurationRegistry.registerConfiguration({
|
|
|
669
678
|
default: 'auto',
|
|
670
679
|
enumDescriptions: [
|
|
671
680
|
( localize(
|
|
672
|
-
|
|
681
|
+
6687,
|
|
673
682
|
"When in screen reader optimized mode, automatically expand lazy variables."
|
|
674
683
|
)),
|
|
675
|
-
( localize(
|
|
676
|
-
( localize(
|
|
684
|
+
( localize(6688, "Always automatically expand lazy variables.")),
|
|
685
|
+
( localize(6689, "Never automatically expand lazy variables."))
|
|
677
686
|
],
|
|
678
687
|
description: ( localize(
|
|
679
|
-
|
|
688
|
+
6690,
|
|
680
689
|
"Controls whether variables that are lazily resolved, such as getters, are automatically resolved and expanded by the debugger."
|
|
681
690
|
))
|
|
682
691
|
},
|
|
683
692
|
'debug.enableStatusBarColor': {
|
|
684
693
|
type: 'boolean',
|
|
685
|
-
description: ( localize(
|
|
694
|
+
description: ( localize(6691, "Color of the status bar when the debugger is active.")),
|
|
686
695
|
default: true
|
|
687
696
|
},
|
|
688
697
|
'debug.hideLauncherWhileDebugging': {
|
|
689
698
|
type: 'boolean',
|
|
690
699
|
markdownDescription: ( localize(
|
|
691
|
-
|
|
700
|
+
6692,
|
|
692
701
|
"Hide 'Start Debugging' control in title bar of 'Run and Debug' view while debugging is active. Only relevant when {0} is not `docked`.",
|
|
693
702
|
'`#debug.toolBarLocation#`'
|
|
694
703
|
)),
|
|
@@ -697,7 +706,7 @@ configurationRegistry.registerConfiguration({
|
|
|
697
706
|
'debug.hideSlowPreLaunchWarning': {
|
|
698
707
|
type: 'boolean',
|
|
699
708
|
markdownDescription: ( localize(
|
|
700
|
-
|
|
709
|
+
6693,
|
|
701
710
|
"Hide the warning shown when a `preLaunchTask` has been running for a while."
|
|
702
711
|
)),
|
|
703
712
|
default: false
|