@codingame/monaco-vscode-debug-service-override 21.6.0 → 22.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 +16 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +17 -17
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +115 -114
- 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.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +24 -24
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +10 -10
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +22 -22
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +67 -53
- 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.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +9 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugToolBar.css +8 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugViewlet.css +7 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +19 -19
- 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.d.ts +2 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +13 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +11 -11
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +12 -11
- 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/debugVisualizers.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +11 -11
- package/vscode/src/vs/workbench/contrib/debug/common/replAccessibilityAnnouncer.js +5 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +2 -2
|
@@ -14,8 +14,8 @@ import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/ext
|
|
|
14
14
|
import { KeybindingsRegistry, KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
15
15
|
import { Extensions as Extensions$1 } from '@codingame/monaco-vscode-api/vscode/vs/platform/quickinput/common/quickAccess';
|
|
16
16
|
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
17
|
-
import { EditorPaneDescriptor } from '@codingame/monaco-vscode-
|
|
18
|
-
import { ViewPaneContainer } from '@codingame/monaco-vscode-
|
|
17
|
+
import { EditorPaneDescriptor } from '@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common/vscode/vs/workbench/browser/editor';
|
|
18
|
+
import { ViewPaneContainer } from '@codingame/monaco-vscode-a8d3bd74-e63e-5327-96e8-4f931661e329-common/vscode/vs/workbench/browser/parts/views/viewPaneContainer';
|
|
19
19
|
import { FocusedViewContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
|
|
20
20
|
import { Extensions, registerWorkbenchContribution2, WorkbenchPhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
21
21
|
import { EditorExtensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
|
|
@@ -64,7 +64,7 @@ import { WelcomeView } from './welcomeView.js';
|
|
|
64
64
|
|
|
65
65
|
registerCss(debug_contribution);
|
|
66
66
|
registerCss(debugHover);
|
|
67
|
-
const debugCategory = ( localize(
|
|
67
|
+
const debugCategory = ( localize(6167, "Debug"));
|
|
68
68
|
registerColors();
|
|
69
69
|
( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugStatusContribution, LifecyclePhase.Eventually);
|
|
70
70
|
( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugProgressContribution, LifecyclePhase.Eventually);
|
|
@@ -80,9 +80,9 @@ if (isWeb) {
|
|
|
80
80
|
ctor: StartDebugQuickAccessProvider,
|
|
81
81
|
prefix: DEBUG_QUICK_ACCESS_PREFIX,
|
|
82
82
|
contextKey: 'inLaunchConfigurationsPicker',
|
|
83
|
-
placeholder: ( localize(
|
|
83
|
+
placeholder: ( localize(6168, "Type the name of a launch configuration to run.")),
|
|
84
84
|
helpEntries: [{
|
|
85
|
-
description: ( localize(
|
|
85
|
+
description: ( localize(6169, "Start Debugging")),
|
|
86
86
|
commandId: SELECT_AND_START_ID,
|
|
87
87
|
commandCenterOrder: 50
|
|
88
88
|
}]
|
|
@@ -91,8 +91,8 @@ if (isWeb) {
|
|
|
91
91
|
ctor: DebugConsoleQuickAccess,
|
|
92
92
|
prefix: DEBUG_CONSOLE_QUICK_ACCESS_PREFIX,
|
|
93
93
|
contextKey: 'inDebugConsolePicker',
|
|
94
|
-
placeholder: ( localize(
|
|
95
|
-
helpEntries: [{ description: ( localize(
|
|
94
|
+
placeholder: ( localize(6170, "Type the name of a debug console to open.")),
|
|
95
|
+
helpEntries: [{ description: ( localize(6171, "Show All Debug Consoles")), commandId: SELECT_DEBUG_CONSOLE_ID }]
|
|
96
96
|
});
|
|
97
97
|
registerEditorContribution('editor.contrib.callStack', CallStackEditorContribution, EditorContributionInstantiation.AfterFirstRender);
|
|
98
98
|
registerEditorContribution(BREAKPOINT_EDITOR_CONTRIBUTION_ID, BreakpointEditorContribution, EditorContributionInstantiation.AfterFirstRender);
|
|
@@ -110,7 +110,7 @@ const registerDebugCommandPaletteItem = (id, title, when, precondition) => {
|
|
|
110
110
|
});
|
|
111
111
|
};
|
|
112
112
|
registerDebugCommandPaletteItem(RESTART_SESSION_ID, RESTART_LABEL);
|
|
113
|
-
registerDebugCommandPaletteItem(TERMINATE_THREAD_ID, ( localize2(
|
|
113
|
+
registerDebugCommandPaletteItem(TERMINATE_THREAD_ID, ( localize2(6172, "Terminate Thread")), CONTEXT_IN_DEBUG_MODE, CONTEXT_TERMINATE_THREADS_SUPPORTED);
|
|
114
114
|
registerDebugCommandPaletteItem(STEP_OVER_ID, STEP_OVER_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
115
115
|
registerDebugCommandPaletteItem(STEP_INTO_ID, STEP_INTO_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
116
116
|
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')))));
|
|
@@ -120,12 +120,12 @@ registerDebugCommandPaletteItem(DISCONNECT_ID, DISCONNECT_LABEL, CONTEXT_IN_DEBU
|
|
|
120
120
|
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)))));
|
|
121
121
|
registerDebugCommandPaletteItem(STOP_ID, STOP_LABEL, CONTEXT_IN_DEBUG_MODE, ( ContextKeyExpr.or(( CONTEXT_FOCUSED_SESSION_IS_ATTACH.toNegated()), CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED)));
|
|
122
122
|
registerDebugCommandPaletteItem(CONTINUE_ID, CONTINUE_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
123
|
-
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(
|
|
124
|
-
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(
|
|
123
|
+
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(6173, "Jump to Cursor")), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
|
|
124
|
+
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(6174, "Set Next Statement")), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
|
|
125
125
|
registerDebugCommandPaletteItem(RunToCursorAction.ID, RunToCursorAction.LABEL, CONTEXT_DEBUGGERS_AVAILABLE);
|
|
126
126
|
registerDebugCommandPaletteItem(SelectionToReplAction.ID, SelectionToReplAction.LABEL, CONTEXT_IN_DEBUG_MODE);
|
|
127
127
|
registerDebugCommandPaletteItem(SelectionToWatchExpressionsAction.ID, SelectionToWatchExpressionsAction.LABEL);
|
|
128
|
-
registerDebugCommandPaletteItem(TOGGLE_INLINE_BREAKPOINT_ID, ( localize2(
|
|
128
|
+
registerDebugCommandPaletteItem(TOGGLE_INLINE_BREAKPOINT_ID, ( localize2(6175, "Inline Breakpoint")));
|
|
129
129
|
registerDebugCommandPaletteItem(DEBUG_START_COMMAND_ID, DEBUG_START_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(State.Initializing))))));
|
|
130
130
|
registerDebugCommandPaletteItem(DEBUG_RUN_COMMAND_ID, DEBUG_RUN_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(State.Initializing))))));
|
|
131
131
|
registerDebugCommandPaletteItem(SELECT_AND_START_ID, SELECT_AND_START_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(State.Initializing))))));
|
|
@@ -161,34 +161,35 @@ registerDebugViewMenuItem(MenuId.DebugCallStackContext, CONTINUE_ID, CONTINUE_LA
|
|
|
161
161
|
registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_OVER_ID, STEP_OVER_LABEL, 20, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
162
162
|
registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_INTO_ID, STEP_INTO_LABEL, 30, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
163
163
|
registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_OUT_ID, STEP_OUT_LABEL, 40, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
164
|
-
registerDebugViewMenuItem(MenuId.DebugCallStackContext, TERMINATE_THREAD_ID, ( localize(
|
|
165
|
-
registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_FRAME_ID, ( localize(
|
|
166
|
-
registerDebugViewMenuItem(MenuId.DebugCallStackContext, COPY_STACK_TRACE_ID, ( localize(
|
|
167
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, VIEW_MEMORY_ID, ( localize(
|
|
168
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, SET_VARIABLE_ID, ( localize(
|
|
164
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, TERMINATE_THREAD_ID, ( localize(6172, "Terminate Thread")), 10, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), CONTEXT_TERMINATE_THREADS_SUPPORTED, 'termination');
|
|
165
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_FRAME_ID, ( localize(6176, "Restart Frame")), 10, ( ContextKeyExpr.and(( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame')), CONTEXT_RESTART_FRAME_SUPPORTED)), CONTEXT_STACK_FRAME_SUPPORTS_RESTART);
|
|
166
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, COPY_STACK_TRACE_ID, ( localize(6177, "Copy Call Stack")), 20, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame')), undefined, '3_modification');
|
|
167
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, VIEW_MEMORY_ID, ( localize(6178, "View Binary Data")), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, 'inline', debugInspectMemory);
|
|
168
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, SET_VARIABLE_ID, ( localize(6179, "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');
|
|
169
169
|
registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_VALUE_ID, COPY_VALUE_LABEL, 10, undefined, undefined, '5_cutcopypaste');
|
|
170
170
|
registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_EVALUATE_PATH_ID, COPY_EVALUATE_PATH_LABEL, 20, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, '5_cutcopypaste');
|
|
171
171
|
registerDebugViewMenuItem(MenuId.DebugVariablesContext, ADD_TO_WATCH_ID, ADD_TO_WATCH_LABEL, 100, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, 'z_commands');
|
|
172
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(
|
|
173
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(
|
|
174
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(
|
|
175
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, VIEW_MEMORY_ID, ( localize(
|
|
172
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(6180, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
|
|
173
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(6181, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
|
|
174
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(6182, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
|
|
175
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, VIEW_MEMORY_ID, ( localize(6178, "View Binary Data")), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, 'inline', debugInspectMemory);
|
|
176
176
|
registerDebugViewMenuItem(MenuId.DebugHoverContext, COPY_VALUE_ID, COPY_VALUE_LABEL, 10, undefined, undefined, '5_cutcopypaste');
|
|
177
177
|
registerDebugViewMenuItem(MenuId.DebugHoverContext, COPY_EVALUATE_PATH_ID, COPY_EVALUATE_PATH_LABEL, 20, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, '5_cutcopypaste');
|
|
178
178
|
registerDebugViewMenuItem(MenuId.DebugHoverContext, ADD_TO_WATCH_ID, ADD_TO_WATCH_LABEL, 100, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, 'z_commands');
|
|
179
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(
|
|
180
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(
|
|
181
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(
|
|
179
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(6180, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
|
|
180
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(6181, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
|
|
181
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(6182, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
|
|
182
182
|
registerDebugViewMenuItem(MenuId.DebugWatchContext, ADD_WATCH_ID, ADD_WATCH_LABEL, 10, undefined, undefined, '3_modification');
|
|
183
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, EDIT_EXPRESSION_COMMAND_ID, ( localize(
|
|
184
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, SET_EXPRESSION_COMMAND_ID, ( localize(
|
|
185
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, COPY_VALUE_ID, ( localize(
|
|
186
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext,
|
|
187
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext,
|
|
183
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, EDIT_EXPRESSION_COMMAND_ID, ( localize(6183, "Edit Expression")), 20, ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), undefined, '3_modification');
|
|
184
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, SET_EXPRESSION_COMMAND_ID, ( localize(6179, "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');
|
|
185
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, COPY_VALUE_ID, ( localize(6184, "Copy Value")), 40, ( ContextKeyExpr.or(( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('variable')))), CONTEXT_IN_DEBUG_MODE, '3_modification');
|
|
186
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, COPY_EVALUATE_PATH_ID, COPY_EVALUATE_PATH_LABEL, 50, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, CONTEXT_IN_DEBUG_MODE, '3_modification');
|
|
187
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, VIEW_MEMORY_ID, ( localize(6178, "View Binary Data")), 10, CONTEXT_CAN_VIEW_MEMORY, undefined, 'inline', debugInspectMemory);
|
|
188
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID, ( localize(6185, "Remove Expression")), 20, ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), undefined, 'inline', watchExpressionRemove);
|
|
188
189
|
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_WATCH_EXPRESSIONS_COMMAND_ID, REMOVE_WATCH_EXPRESSIONS_LABEL, 20, undefined, undefined, 'z_commands');
|
|
189
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(
|
|
190
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(
|
|
191
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(
|
|
190
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(6180, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
|
|
191
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(6181, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
|
|
192
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(6182, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
|
|
192
193
|
registerDebugViewMenuItem(MenuId.NotebookVariablesContext, COPY_NOTEBOOK_VARIABLE_VALUE_ID, COPY_NOTEBOOK_VARIABLE_VALUE_LABEL, 20, CONTEXT_VARIABLE_VALUE);
|
|
193
194
|
KeybindingsRegistry.registerKeybindingRule({
|
|
194
195
|
id: COPY_VALUE_ID,
|
|
@@ -219,12 +220,12 @@ if (isMacintosh) {
|
|
|
219
220
|
registerTouchBarEntry(RESTART_SESSION_ID, RESTART_LABEL, 5, CONTEXT_IN_DEBUG_MODE, ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/restart-tb.png')));
|
|
220
221
|
registerTouchBarEntry(STOP_ID, STOP_LABEL, 6, CONTEXT_IN_DEBUG_MODE, ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/stop-tb.png')));
|
|
221
222
|
}
|
|
222
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, rememberDefaultAction: true, title: ( localize2(
|
|
223
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, rememberDefaultAction: true, title: ( localize2(6186, "Run or Debug...")), icon: debugRun, group: 'navigation', order: -1 });
|
|
223
224
|
MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
224
225
|
submenu: MenuId.MenubarDebugMenu,
|
|
225
226
|
title: {
|
|
226
|
-
...( localize2(
|
|
227
|
-
mnemonicTitle: ( localize(
|
|
227
|
+
...( localize2(6187, "Run")),
|
|
228
|
+
mnemonicTitle: ( localize(6188, "&&Run"))
|
|
228
229
|
},
|
|
229
230
|
order: 6
|
|
230
231
|
});
|
|
@@ -232,7 +233,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
232
233
|
group: '1_debug',
|
|
233
234
|
command: {
|
|
234
235
|
id: DEBUG_START_COMMAND_ID,
|
|
235
|
-
title: ( localize(
|
|
236
|
+
title: ( localize(6189, "&&Start Debugging"))
|
|
236
237
|
},
|
|
237
238
|
order: 1,
|
|
238
239
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -241,7 +242,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
241
242
|
group: '1_debug',
|
|
242
243
|
command: {
|
|
243
244
|
id: DEBUG_RUN_COMMAND_ID,
|
|
244
|
-
title: ( localize(
|
|
245
|
+
title: ( localize(6190, "Run &&Without Debugging"))
|
|
245
246
|
},
|
|
246
247
|
order: 2,
|
|
247
248
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -250,7 +251,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
250
251
|
group: '1_debug',
|
|
251
252
|
command: {
|
|
252
253
|
id: STOP_ID,
|
|
253
|
-
title: ( localize(
|
|
254
|
+
title: ( localize(6191, "&&Stop Debugging")),
|
|
254
255
|
precondition: CONTEXT_IN_DEBUG_MODE
|
|
255
256
|
},
|
|
256
257
|
order: 3,
|
|
@@ -260,7 +261,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
260
261
|
group: '1_debug',
|
|
261
262
|
command: {
|
|
262
263
|
id: RESTART_SESSION_ID,
|
|
263
|
-
title: ( localize(
|
|
264
|
+
title: ( localize(6192, "&&Restart Debugging")),
|
|
264
265
|
precondition: CONTEXT_IN_DEBUG_MODE
|
|
265
266
|
},
|
|
266
267
|
order: 4,
|
|
@@ -270,7 +271,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
270
271
|
group: '2_configuration',
|
|
271
272
|
command: {
|
|
272
273
|
id: ADD_CONFIGURATION_ID,
|
|
273
|
-
title: ( localize(
|
|
274
|
+
title: ( localize(6193, "A&&dd Configuration..."))
|
|
274
275
|
},
|
|
275
276
|
order: 2,
|
|
276
277
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -279,7 +280,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
279
280
|
group: '3_step',
|
|
280
281
|
command: {
|
|
281
282
|
id: STEP_OVER_ID,
|
|
282
|
-
title: ( localize(
|
|
283
|
+
title: ( localize(6194, "Step &&Over")),
|
|
283
284
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
284
285
|
},
|
|
285
286
|
order: 1,
|
|
@@ -289,7 +290,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
289
290
|
group: '3_step',
|
|
290
291
|
command: {
|
|
291
292
|
id: STEP_INTO_ID,
|
|
292
|
-
title: ( localize(
|
|
293
|
+
title: ( localize(6195, "Step &&Into")),
|
|
293
294
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
294
295
|
},
|
|
295
296
|
order: 2,
|
|
@@ -299,7 +300,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
299
300
|
group: '3_step',
|
|
300
301
|
command: {
|
|
301
302
|
id: STEP_OUT_ID,
|
|
302
|
-
title: ( localize(
|
|
303
|
+
title: ( localize(6196, "Step O&&ut")),
|
|
303
304
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
304
305
|
},
|
|
305
306
|
order: 3,
|
|
@@ -309,7 +310,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
309
310
|
group: '3_step',
|
|
310
311
|
command: {
|
|
311
312
|
id: CONTINUE_ID,
|
|
312
|
-
title: ( localize(
|
|
313
|
+
title: ( localize(6197, "&&Continue")),
|
|
313
314
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
314
315
|
},
|
|
315
316
|
order: 4,
|
|
@@ -319,14 +320,14 @@ MenuRegistry.appendMenuItem(MenuId.MenubarNewBreakpointMenu, {
|
|
|
319
320
|
group: '1_breakpoints',
|
|
320
321
|
command: {
|
|
321
322
|
id: TOGGLE_INLINE_BREAKPOINT_ID,
|
|
322
|
-
title: ( localize(
|
|
323
|
+
title: ( localize(6198, "Inline Breakp&&oint"))
|
|
323
324
|
},
|
|
324
325
|
order: 2,
|
|
325
326
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
326
327
|
});
|
|
327
328
|
MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
328
329
|
group: '4_new_breakpoint',
|
|
329
|
-
title: ( localize(
|
|
330
|
+
title: ( localize(6199, "&&New Breakpoint")),
|
|
330
331
|
submenu: MenuId.MenubarNewBreakpointMenu,
|
|
331
332
|
order: 2,
|
|
332
333
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -344,7 +345,7 @@ MenuRegistry.appendMenuItem(MenuId.DebugDisassemblyContext, {
|
|
|
344
345
|
group: '3_breakpoints',
|
|
345
346
|
command: {
|
|
346
347
|
id: TOGGLE_BREAKPOINT_ID,
|
|
347
|
-
title: ( localize(
|
|
348
|
+
title: ( localize(6200, "Toggle Breakpoint")),
|
|
348
349
|
},
|
|
349
350
|
order: 2,
|
|
350
351
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -353,13 +354,13 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
353
354
|
group: 'z_install',
|
|
354
355
|
command: {
|
|
355
356
|
id: 'debug.installAdditionalDebuggers',
|
|
356
|
-
title: ( localize(
|
|
357
|
+
title: ( localize(6201, "&&Install Additional Debuggers..."))
|
|
357
358
|
},
|
|
358
359
|
order: 1
|
|
359
360
|
});
|
|
360
361
|
const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
|
|
361
362
|
id: DEBUG_PANEL_ID,
|
|
362
|
-
title: ( localize2(
|
|
363
|
+
title: ( localize2(6202, "Debug Console")),
|
|
363
364
|
icon: debugConsoleViewIcon,
|
|
364
365
|
ctorDescriptor: ( new SyncDescriptor(
|
|
365
366
|
ViewPaneContainer,
|
|
@@ -371,7 +372,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).regis
|
|
|
371
372
|
}, ViewContainerLocation.Panel, { doNotRegisterOpenCommand: true });
|
|
372
373
|
( Registry.as(Extensions$2.ViewsRegistry)).registerViews([{
|
|
373
374
|
id: REPL_VIEW_ID,
|
|
374
|
-
name: ( localize2(
|
|
375
|
+
name: ( localize2(6202, "Debug Console")),
|
|
375
376
|
containerIcon: debugConsoleViewIcon,
|
|
376
377
|
canToggleVisibility: true,
|
|
377
378
|
canMoveView: true,
|
|
@@ -379,17 +380,17 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).regis
|
|
|
379
380
|
ctorDescriptor: ( new SyncDescriptor(Repl)),
|
|
380
381
|
openCommandActionDescriptor: {
|
|
381
382
|
id: 'workbench.debug.action.toggleRepl',
|
|
382
|
-
mnemonicTitle: ( localize(
|
|
383
|
+
mnemonicTitle: ( localize(6203, "De&&bug Console")),
|
|
383
384
|
keybindings: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyY },
|
|
384
385
|
order: 2
|
|
385
386
|
}
|
|
386
387
|
}], VIEW_CONTAINER);
|
|
387
388
|
const viewContainer = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
|
|
388
389
|
id: VIEWLET_ID,
|
|
389
|
-
title: ( localize2(
|
|
390
|
+
title: ( localize2(6204, "Run and Debug")),
|
|
390
391
|
openCommandActionDescriptor: {
|
|
391
392
|
id: VIEWLET_ID,
|
|
392
|
-
mnemonicTitle: ( localize(
|
|
393
|
+
mnemonicTitle: ( localize(6205, "&&Run")),
|
|
393
394
|
keybindings: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyD },
|
|
394
395
|
order: 3
|
|
395
396
|
},
|
|
@@ -399,49 +400,49 @@ const viewContainer = ( Registry.as(Extensions$2.ViewContainersRegistry)).regist
|
|
|
399
400
|
order: 3,
|
|
400
401
|
}, ViewContainerLocation.Sidebar);
|
|
401
402
|
const viewsRegistry = ( Registry.as(Extensions$2.ViewsRegistry));
|
|
402
|
-
viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name: ( localize2(
|
|
403
|
-
viewsRegistry.registerViews([{ id: WATCH_VIEW_ID, name: ( localize2(
|
|
404
|
-
viewsRegistry.registerViews([{ id: CALLSTACK_VIEW_ID, name: ( localize2(
|
|
405
|
-
viewsRegistry.registerViews([{ id: BREAKPOINTS_VIEW_ID, name: ( localize2(
|
|
403
|
+
viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name: ( localize2(6206, "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);
|
|
404
|
+
viewsRegistry.registerViews([{ id: WATCH_VIEW_ID, name: ( localize2(6207, "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);
|
|
405
|
+
viewsRegistry.registerViews([{ id: CALLSTACK_VIEW_ID, name: ( localize2(6208, "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);
|
|
406
|
+
viewsRegistry.registerViews([{ id: BREAKPOINTS_VIEW_ID, name: ( localize2(6209, "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);
|
|
406
407
|
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);
|
|
407
|
-
viewsRegistry.registerViews([{ id: LOADED_SCRIPTS_VIEW_ID, name: ( localize2(
|
|
408
|
-
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( localize(
|
|
408
|
+
viewsRegistry.registerViews([{ id: LOADED_SCRIPTS_VIEW_ID, name: ( localize2(6210, "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);
|
|
409
|
+
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( localize(6211, "Disassembly"))), [( new SyncDescriptor(DisassemblyViewInput))]);
|
|
409
410
|
const configurationRegistry = ( Registry.as(Extensions$3.Configuration));
|
|
410
411
|
configurationRegistry.registerConfiguration({
|
|
411
412
|
id: 'debug',
|
|
412
413
|
order: 20,
|
|
413
|
-
title: ( localize(
|
|
414
|
+
title: ( localize(6212, "Debug")),
|
|
414
415
|
type: 'object',
|
|
415
416
|
properties: {
|
|
416
417
|
'debug.showVariableTypes': {
|
|
417
418
|
type: 'boolean',
|
|
418
|
-
description: ( localize(
|
|
419
|
+
description: ( localize(6213, "Show variable type in variable pane during debug session")),
|
|
419
420
|
default: false
|
|
420
421
|
},
|
|
421
422
|
'debug.allowBreakpointsEverywhere': {
|
|
422
423
|
type: 'boolean',
|
|
423
|
-
description: ( localize(
|
|
424
|
+
description: ( localize(6214, "Allow setting breakpoints in any file.")),
|
|
424
425
|
default: false
|
|
425
426
|
},
|
|
426
427
|
'debug.gutterMiddleClickAction': {
|
|
427
428
|
type: 'string',
|
|
428
429
|
enum: ['logpoint', 'conditionalBreakpoint', 'triggeredBreakpoint', 'none'],
|
|
429
430
|
description: ( localize(
|
|
430
|
-
|
|
431
|
+
6215,
|
|
431
432
|
'Controls the action to perform when clicking the editor gutter with the middle mouse button.'
|
|
432
433
|
)),
|
|
433
434
|
enumDescriptions: [
|
|
434
|
-
( localize(
|
|
435
|
-
( localize(
|
|
436
|
-
( localize(
|
|
437
|
-
( localize(
|
|
435
|
+
( localize(6216, "Add Logpoint.")),
|
|
436
|
+
( localize(6217, "Add Conditional Breakpoint.")),
|
|
437
|
+
( localize(6218, "Add Triggered Breakpoint.")),
|
|
438
|
+
( localize(6219, "Don't perform any action.")),
|
|
438
439
|
],
|
|
439
440
|
default: 'logpoint',
|
|
440
441
|
},
|
|
441
442
|
'debug.openExplorerOnEnd': {
|
|
442
443
|
type: 'boolean',
|
|
443
444
|
description: ( localize(
|
|
444
|
-
|
|
445
|
+
6220,
|
|
445
446
|
"Automatically open the explorer view at the end of a debug session."
|
|
446
447
|
)),
|
|
447
448
|
default: false
|
|
@@ -449,7 +450,7 @@ configurationRegistry.registerConfiguration({
|
|
|
449
450
|
'debug.closeReadonlyTabsOnEnd': {
|
|
450
451
|
type: 'boolean',
|
|
451
452
|
description: ( localize(
|
|
452
|
-
|
|
453
|
+
6221,
|
|
453
454
|
"At the end of a debug session, all the read-only tabs associated with that session will be closed"
|
|
454
455
|
)),
|
|
455
456
|
default: false
|
|
@@ -457,12 +458,12 @@ configurationRegistry.registerConfiguration({
|
|
|
457
458
|
'debug.inlineValues': {
|
|
458
459
|
type: 'string',
|
|
459
460
|
'enum': ['on', 'off', 'auto'],
|
|
460
|
-
description: ( localize(
|
|
461
|
+
description: ( localize(6222, "Show variable values inline in editor while debugging.")),
|
|
461
462
|
'enumDescriptions': [
|
|
462
|
-
( localize(
|
|
463
|
-
( localize(
|
|
463
|
+
( localize(6223, "Always show variable values inline in editor while debugging.")),
|
|
464
|
+
( localize(6224, "Never show variable values inline in editor while debugging.")),
|
|
464
465
|
( localize(
|
|
465
|
-
|
|
466
|
+
6225,
|
|
466
467
|
"Show variable values inline in editor while debugging when the language supports inline value locations."
|
|
467
468
|
)),
|
|
468
469
|
],
|
|
@@ -471,32 +472,32 @@ configurationRegistry.registerConfiguration({
|
|
|
471
472
|
'debug.toolBarLocation': {
|
|
472
473
|
enum: ['floating', 'docked', 'commandCenter', 'hidden'],
|
|
473
474
|
markdownDescription: ( localize(
|
|
474
|
-
|
|
475
|
+
6226,
|
|
475
476
|
"Controls the location of the debug toolbar. Either `floating` in all views, `docked` in the debug view, `commandCenter` (requires {0}), or `hidden`.",
|
|
476
477
|
'`#window.commandCenter#`'
|
|
477
478
|
)),
|
|
478
479
|
default: 'floating',
|
|
479
480
|
markdownEnumDescriptions: [
|
|
480
|
-
( localize(
|
|
481
|
-
( localize(
|
|
482
|
-
( localize(
|
|
483
|
-
( localize(
|
|
481
|
+
( localize(6227, "Show debug toolbar in all views.")),
|
|
482
|
+
( localize(6228, "Show debug toolbar only in debug views.")),
|
|
483
|
+
( localize(6229, "`(Experimental)` Show debug toolbar in the command center.")),
|
|
484
|
+
( localize(6230, "Do not show debug toolbar.")),
|
|
484
485
|
]
|
|
485
486
|
},
|
|
486
487
|
'debug.showInStatusBar': {
|
|
487
488
|
enum: ['never', 'always', 'onFirstSessionStart'],
|
|
488
|
-
enumDescriptions: [( localize(
|
|
489
|
-
|
|
489
|
+
enumDescriptions: [( localize(6231, "Never show debug in Status bar")), ( localize(6232, "Always show debug in Status bar")), ( localize(
|
|
490
|
+
6233,
|
|
490
491
|
"Show debug in Status bar only after debug was started for the first time"
|
|
491
492
|
))],
|
|
492
|
-
description: ( localize(
|
|
493
|
+
description: ( localize(6234, "Controls when the debug Status bar should be visible.")),
|
|
493
494
|
default: 'onFirstSessionStart'
|
|
494
495
|
},
|
|
495
496
|
'debug.internalConsoleOptions': INTERNAL_CONSOLE_OPTIONS_SCHEMA,
|
|
496
497
|
'debug.console.closeOnEnd': {
|
|
497
498
|
type: 'boolean',
|
|
498
499
|
description: ( localize(
|
|
499
|
-
|
|
500
|
+
6235,
|
|
500
501
|
"Controls if the Debug Console should be automatically closed when the debug session ends."
|
|
501
502
|
)),
|
|
502
503
|
default: false
|
|
@@ -504,7 +505,7 @@ configurationRegistry.registerConfiguration({
|
|
|
504
505
|
'debug.terminal.clearBeforeReusing': {
|
|
505
506
|
type: 'boolean',
|
|
506
507
|
description: ( localize(
|
|
507
|
-
|
|
508
|
+
6236,
|
|
508
509
|
"Before starting a new debug session in an integrated or external terminal, clear the terminal."
|
|
509
510
|
)),
|
|
510
511
|
default: false
|
|
@@ -512,43 +513,43 @@ configurationRegistry.registerConfiguration({
|
|
|
512
513
|
'debug.openDebug': {
|
|
513
514
|
enum: ['neverOpen', 'openOnSessionStart', 'openOnFirstSessionStart', 'openOnDebugBreak'],
|
|
514
515
|
default: 'openOnDebugBreak',
|
|
515
|
-
description: ( localize(
|
|
516
|
+
description: ( localize(6237, "Controls when the debug view should open."))
|
|
516
517
|
},
|
|
517
518
|
'debug.showSubSessionsInToolBar': {
|
|
518
519
|
type: 'boolean',
|
|
519
520
|
description: ( localize(
|
|
520
|
-
|
|
521
|
+
6238,
|
|
521
522
|
"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."
|
|
522
523
|
)),
|
|
523
524
|
default: false
|
|
524
525
|
},
|
|
525
526
|
'debug.console.fontSize': {
|
|
526
527
|
type: 'number',
|
|
527
|
-
description: ( localize(
|
|
528
|
+
description: ( localize(6239, "Controls the font size in pixels in the Debug Console.")),
|
|
528
529
|
default: isMacintosh ? 12 : 14,
|
|
529
530
|
},
|
|
530
531
|
'debug.console.fontFamily': {
|
|
531
532
|
type: 'string',
|
|
532
|
-
description: ( localize(
|
|
533
|
+
description: ( localize(6240, "Controls the font family in the Debug Console.")),
|
|
533
534
|
default: 'default'
|
|
534
535
|
},
|
|
535
536
|
'debug.console.lineHeight': {
|
|
536
537
|
type: 'number',
|
|
537
538
|
description: ( localize(
|
|
538
|
-
|
|
539
|
+
6241,
|
|
539
540
|
"Controls the line height in pixels in the Debug Console. Use 0 to compute the line height from the font size."
|
|
540
541
|
)),
|
|
541
542
|
default: 0
|
|
542
543
|
},
|
|
543
544
|
'debug.console.wordWrap': {
|
|
544
545
|
type: 'boolean',
|
|
545
|
-
description: ( localize(
|
|
546
|
+
description: ( localize(6242, "Controls if the lines should wrap in the Debug Console.")),
|
|
546
547
|
default: true
|
|
547
548
|
},
|
|
548
549
|
'debug.console.historySuggestions': {
|
|
549
550
|
type: 'boolean',
|
|
550
551
|
description: ( localize(
|
|
551
|
-
|
|
552
|
+
6243,
|
|
552
553
|
"Controls if the Debug Console should suggest previously typed input."
|
|
553
554
|
)),
|
|
554
555
|
default: true
|
|
@@ -556,7 +557,7 @@ configurationRegistry.registerConfiguration({
|
|
|
556
557
|
'debug.console.collapseIdenticalLines': {
|
|
557
558
|
type: 'boolean',
|
|
558
559
|
description: ( localize(
|
|
559
|
-
|
|
560
|
+
6244,
|
|
560
561
|
"Controls if the Debug Console should collapse identical lines and show a number of occurrences with a badge."
|
|
561
562
|
)),
|
|
562
563
|
default: true
|
|
@@ -564,20 +565,20 @@ configurationRegistry.registerConfiguration({
|
|
|
564
565
|
'debug.console.acceptSuggestionOnEnter': {
|
|
565
566
|
enum: ['off', 'on'],
|
|
566
567
|
description: ( localize(
|
|
567
|
-
|
|
568
|
+
6245,
|
|
568
569
|
"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."
|
|
569
570
|
)),
|
|
570
571
|
default: 'off'
|
|
571
572
|
},
|
|
572
573
|
'debug.console.maximumLines': {
|
|
573
574
|
type: 'number',
|
|
574
|
-
description: ( localize(
|
|
575
|
+
description: ( localize(6246, "Controls the maximum number of lines in the Debug Console.")),
|
|
575
576
|
default: 10000
|
|
576
577
|
},
|
|
577
578
|
'launch': {
|
|
578
579
|
type: 'object',
|
|
579
580
|
description: ( localize(
|
|
580
|
-
|
|
581
|
+
6247,
|
|
581
582
|
"Global debug launch configuration. Should be used as an alternative to 'launch.json' that is shared across workspaces."
|
|
582
583
|
)),
|
|
583
584
|
default: { configurations: [], compounds: [] },
|
|
@@ -587,7 +588,7 @@ configurationRegistry.registerConfiguration({
|
|
|
587
588
|
'debug.focusWindowOnBreak': {
|
|
588
589
|
type: 'boolean',
|
|
589
590
|
description: ( localize(
|
|
590
|
-
|
|
591
|
+
6248,
|
|
591
592
|
"Controls whether the workbench window should be focused when the debugger breaks."
|
|
592
593
|
)),
|
|
593
594
|
default: true
|
|
@@ -595,16 +596,16 @@ configurationRegistry.registerConfiguration({
|
|
|
595
596
|
'debug.focusEditorOnBreak': {
|
|
596
597
|
type: 'boolean',
|
|
597
598
|
description: ( localize(
|
|
598
|
-
|
|
599
|
+
6249,
|
|
599
600
|
"Controls whether the editor should be focused when the debugger breaks."
|
|
600
601
|
)),
|
|
601
602
|
default: true
|
|
602
603
|
},
|
|
603
604
|
'debug.onTaskErrors': {
|
|
604
605
|
enum: ['debugAnyway', 'showErrors', 'prompt', 'abort'],
|
|
605
|
-
enumDescriptions: [( localize(
|
|
606
|
+
enumDescriptions: [( localize(6250, "Ignore task errors and start debugging.")), ( localize(6251, "Show the Problems view and do not start debugging.")), ( localize(6252, "Prompt user.")), ( localize(6253, "Cancel debugging."))],
|
|
606
607
|
description: ( localize(
|
|
607
|
-
|
|
608
|
+
6254,
|
|
608
609
|
"Controls what to do when errors are encountered after running a preLaunchTask."
|
|
609
610
|
)),
|
|
610
611
|
default: 'prompt'
|
|
@@ -612,7 +613,7 @@ configurationRegistry.registerConfiguration({
|
|
|
612
613
|
'debug.showBreakpointsInOverviewRuler': {
|
|
613
614
|
type: 'boolean',
|
|
614
615
|
description: ( localize(
|
|
615
|
-
|
|
616
|
+
6255,
|
|
616
617
|
"Controls whether breakpoints should be shown in the overview ruler."
|
|
617
618
|
)),
|
|
618
619
|
default: false
|
|
@@ -620,45 +621,45 @@ configurationRegistry.registerConfiguration({
|
|
|
620
621
|
'debug.showInlineBreakpointCandidates': {
|
|
621
622
|
type: 'boolean',
|
|
622
623
|
description: ( localize(
|
|
623
|
-
|
|
624
|
+
6256,
|
|
624
625
|
"Controls whether inline breakpoints candidate decorations should be shown in the editor while debugging."
|
|
625
626
|
)),
|
|
626
627
|
default: true
|
|
627
628
|
},
|
|
628
629
|
'debug.saveBeforeStart': {
|
|
629
|
-
description: ( localize(
|
|
630
|
+
description: ( localize(6257, "Controls what editors to save before starting a debug session.")),
|
|
630
631
|
enum: ['allEditorsInActiveGroup', 'nonUntitledEditorsInActiveGroup', 'none'],
|
|
631
632
|
enumDescriptions: [
|
|
632
633
|
( localize(
|
|
633
|
-
|
|
634
|
+
6258,
|
|
634
635
|
"Save all editors in the active group before starting a debug session."
|
|
635
636
|
)),
|
|
636
637
|
( localize(
|
|
637
|
-
|
|
638
|
+
6259,
|
|
638
639
|
"Save all editors in the active group except untitled ones before starting a debug session."
|
|
639
640
|
)),
|
|
640
|
-
( localize(
|
|
641
|
+
( localize(6260, "Don't save any editors before starting a debug session.")),
|
|
641
642
|
],
|
|
642
643
|
default: 'allEditorsInActiveGroup',
|
|
643
644
|
scope: ConfigurationScope.LANGUAGE_OVERRIDABLE
|
|
644
645
|
},
|
|
645
646
|
'debug.confirmOnExit': {
|
|
646
647
|
description: ( localize(
|
|
647
|
-
|
|
648
|
+
6261,
|
|
648
649
|
"Controls whether to confirm when the window closes if there are active debug sessions."
|
|
649
650
|
)),
|
|
650
651
|
type: 'string',
|
|
651
652
|
enum: ['never', 'always'],
|
|
652
653
|
enumDescriptions: [
|
|
653
|
-
( localize(
|
|
654
|
-
( localize(
|
|
654
|
+
( localize(6262, "Never confirm.")),
|
|
655
|
+
( localize(6263, "Always confirm if there are debug sessions.")),
|
|
655
656
|
],
|
|
656
657
|
default: 'never'
|
|
657
658
|
},
|
|
658
659
|
'debug.disassemblyView.showSourceCode': {
|
|
659
660
|
type: 'boolean',
|
|
660
661
|
default: true,
|
|
661
|
-
description: ( localize(
|
|
662
|
+
description: ( localize(6264, "Show Source Code in Disassembly View."))
|
|
662
663
|
},
|
|
663
664
|
'debug.autoExpandLazyVariables': {
|
|
664
665
|
type: 'string',
|
|
@@ -666,26 +667,26 @@ configurationRegistry.registerConfiguration({
|
|
|
666
667
|
default: 'auto',
|
|
667
668
|
enumDescriptions: [
|
|
668
669
|
( localize(
|
|
669
|
-
|
|
670
|
+
6265,
|
|
670
671
|
"When in screen reader optimized mode, automatically expand lazy variables."
|
|
671
672
|
)),
|
|
672
|
-
( localize(
|
|
673
|
-
( localize(
|
|
673
|
+
( localize(6266, "Always automatically expand lazy variables.")),
|
|
674
|
+
( localize(6267, "Never automatically expand lazy variables."))
|
|
674
675
|
],
|
|
675
676
|
description: ( localize(
|
|
676
|
-
|
|
677
|
+
6268,
|
|
677
678
|
"Controls whether variables that are lazily resolved, such as getters, are automatically resolved and expanded by the debugger."
|
|
678
679
|
))
|
|
679
680
|
},
|
|
680
681
|
'debug.enableStatusBarColor': {
|
|
681
682
|
type: 'boolean',
|
|
682
|
-
description: ( localize(
|
|
683
|
+
description: ( localize(6269, "Color of the Status bar when debugger is active.")),
|
|
683
684
|
default: true
|
|
684
685
|
},
|
|
685
686
|
'debug.hideLauncherWhileDebugging': {
|
|
686
687
|
type: 'boolean',
|
|
687
688
|
markdownDescription: ( localize(
|
|
688
|
-
|
|
689
|
+
6270,
|
|
689
690
|
"Hide 'Start Debugging' control in title bar of 'Run and Debug' view while debugging is active. Only relevant when {0} is not `docked`.",
|
|
690
691
|
'`#debug.toolBarLocation#`'
|
|
691
692
|
)),
|
|
@@ -694,7 +695,7 @@ configurationRegistry.registerConfiguration({
|
|
|
694
695
|
'debug.hideSlowPreLaunchWarning': {
|
|
695
696
|
type: 'boolean',
|
|
696
697
|
markdownDescription: ( localize(
|
|
697
|
-
|
|
698
|
+
6271,
|
|
698
699
|
"Hide the warning shown when a `preLaunchTask` has been running for a while."
|
|
699
700
|
)),
|
|
700
701
|
default: false
|