@codingame/monaco-vscode-debug-service-override 17.2.0 → 18.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 +18 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +24 -24
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +116 -111
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +7 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +13 -13
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +6 -6
- 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.js +45 -44
- 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.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +8 -8
- 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 +19 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +10 -10
- 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 +21 -21
- 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/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 +10 -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 +46 -46
- package/vscode/src/vs/workbench/contrib/debug/common/debugStorage.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +12 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +2 -2
|
@@ -14,13 +14,13 @@ 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-dcfc2191-2da1-54c7-8fb7-e92c5d11ecef-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';
|
|
22
22
|
import { Extensions as Extensions$2, ViewContainerLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views';
|
|
23
|
-
import { launchSchemaId } from '@codingame/monaco-vscode-
|
|
23
|
+
import { launchSchemaId } from '@codingame/monaco-vscode-ce7c734f-7712-563c-9335-d7acb43306af-common/vscode/vs/workbench/services/configuration/common/configuration';
|
|
24
24
|
import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
25
25
|
import { COPY_NOTEBOOK_VARIABLE_VALUE_ID, COPY_NOTEBOOK_VARIABLE_VALUE_LABEL } from '../../notebook/browser/contrib/notebookVariables/notebookVariableCommands.js';
|
|
26
26
|
import { BREAKPOINT_EDITOR_CONTRIBUTION_ID, EDITOR_CONTRIBUTION_ID, CONTEXT_DEBUGGERS_AVAILABLE, CONTEXT_IN_DEBUG_MODE, CONTEXT_DEBUG_STATE, CONTEXT_STEP_INTO_TARGETS_SUPPORTED, CONTEXT_FOCUSED_SESSION_IS_NO_DEBUG, CONTEXT_FOCUSED_SESSION_IS_ATTACH, CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED, CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED, CONTEXT_JUMP_TO_CURSOR_SUPPORTED, getStateLabel, State, CONTEXT_CALLSTACK_ITEM_TYPE, CONTEXT_RESTART_FRAME_SUPPORTED, CONTEXT_STACK_FRAME_SUPPORTS_RESTART, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_SET_VARIABLE_SUPPORTED, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, CONTEXT_SET_EXPRESSION_SUPPORTED, CONTEXT_VARIABLE_IS_READONLY, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, CONTEXT_WATCH_ITEM_TYPE, CONTEXT_VARIABLE_VALUE, CONTEXT_EXPRESSION_SELECTED, WATCH_VIEW_ID, VARIABLES_VIEW_ID, DEBUG_PANEL_ID, REPL_VIEW_ID, VIEWLET_ID, CONTEXT_DEBUG_UX, CALLSTACK_VIEW_ID, BREAKPOINTS_VIEW_ID, CONTEXT_BREAKPOINTS_EXIST, CONTEXT_HAS_DEBUGGED, LOADED_SCRIPTS_VIEW_ID, CONTEXT_LOADED_SCRIPTS_SUPPORTED, DISASSEMBLY_VIEW_ID, INTERNAL_CONSOLE_OPTIONS_SCHEMA } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug';
|
|
@@ -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(5672, "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(5673, "Type the name of a launch configuration to run.")),
|
|
84
84
|
helpEntries: [{
|
|
85
|
-
description: ( localize(
|
|
85
|
+
description: ( localize(5674, "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(5675, "Type the name of a debug console to open.")),
|
|
95
|
+
helpEntries: [{ description: ( localize(5676, "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(5677, "Terminate Thread")), CONTEXT_IN_DEBUG_MODE);
|
|
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(5678, "Jump to Cursor")), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
|
|
124
|
+
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(5679, "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(5680, "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,30 +161,30 @@ 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(5677, "Terminate Thread")), 10, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), undefined, 'termination');
|
|
165
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_FRAME_ID, ( localize(5681, "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(5682, "Copy Call Stack")), 20, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame')), undefined, '3_modification');
|
|
167
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, VIEW_MEMORY_ID, ( localize(5683, "View Binary Data")), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, 'inline', debugInspectMemory);
|
|
168
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, SET_VARIABLE_ID, ( localize(5684, "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(5685, "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(5686, "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(5687, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
|
|
175
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, VIEW_MEMORY_ID, ( localize(5683, "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(5685, "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(5686, "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(5687, "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, VIEW_MEMORY_ID, ( localize(
|
|
187
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID, ( localize(
|
|
183
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, EDIT_EXPRESSION_COMMAND_ID, ( localize(5688, "Edit Expression")), 20, ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), undefined, '3_modification');
|
|
184
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, SET_EXPRESSION_COMMAND_ID, ( localize(5684, "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(5689, "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, VIEW_MEMORY_ID, ( localize(5683, "View Binary Data")), 10, CONTEXT_CAN_VIEW_MEMORY, undefined, 'inline', debugInspectMemory);
|
|
187
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID, ( localize(5690, "Remove Expression")), 20, ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), undefined, 'inline', watchExpressionRemove);
|
|
188
188
|
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_WATCH_EXPRESSIONS_COMMAND_ID, REMOVE_WATCH_EXPRESSIONS_LABEL, 20, undefined, undefined, 'z_commands');
|
|
189
189
|
registerDebugViewMenuItem(MenuId.NotebookVariablesContext, COPY_NOTEBOOK_VARIABLE_VALUE_ID, COPY_NOTEBOOK_VARIABLE_VALUE_LABEL, 20, CONTEXT_VARIABLE_VALUE);
|
|
190
190
|
KeybindingsRegistry.registerKeybindingRule({
|
|
@@ -216,12 +216,12 @@ if (isMacintosh) {
|
|
|
216
216
|
registerTouchBarEntry(RESTART_SESSION_ID, RESTART_LABEL, 5, CONTEXT_IN_DEBUG_MODE, ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/restart-tb.png')));
|
|
217
217
|
registerTouchBarEntry(STOP_ID, STOP_LABEL, 6, CONTEXT_IN_DEBUG_MODE, ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/stop-tb.png')));
|
|
218
218
|
}
|
|
219
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, rememberDefaultAction: true, title: ( localize2(
|
|
219
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, rememberDefaultAction: true, title: ( localize2(5691, "Run or Debug...")), icon: debugRun, group: 'navigation', order: -1 });
|
|
220
220
|
MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
221
221
|
submenu: MenuId.MenubarDebugMenu,
|
|
222
222
|
title: {
|
|
223
|
-
...( localize2(
|
|
224
|
-
mnemonicTitle: ( localize(
|
|
223
|
+
...( localize2(5692, "Run")),
|
|
224
|
+
mnemonicTitle: ( localize(5693, "&&Run"))
|
|
225
225
|
},
|
|
226
226
|
order: 6
|
|
227
227
|
});
|
|
@@ -229,7 +229,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
229
229
|
group: '1_debug',
|
|
230
230
|
command: {
|
|
231
231
|
id: DEBUG_START_COMMAND_ID,
|
|
232
|
-
title: ( localize(
|
|
232
|
+
title: ( localize(5694, "&&Start Debugging"))
|
|
233
233
|
},
|
|
234
234
|
order: 1,
|
|
235
235
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -238,7 +238,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
238
238
|
group: '1_debug',
|
|
239
239
|
command: {
|
|
240
240
|
id: DEBUG_RUN_COMMAND_ID,
|
|
241
|
-
title: ( localize(
|
|
241
|
+
title: ( localize(5695, "Run &&Without Debugging"))
|
|
242
242
|
},
|
|
243
243
|
order: 2,
|
|
244
244
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -247,7 +247,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
247
247
|
group: '1_debug',
|
|
248
248
|
command: {
|
|
249
249
|
id: STOP_ID,
|
|
250
|
-
title: ( localize(
|
|
250
|
+
title: ( localize(5696, "&&Stop Debugging")),
|
|
251
251
|
precondition: CONTEXT_IN_DEBUG_MODE
|
|
252
252
|
},
|
|
253
253
|
order: 3,
|
|
@@ -257,7 +257,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
257
257
|
group: '1_debug',
|
|
258
258
|
command: {
|
|
259
259
|
id: RESTART_SESSION_ID,
|
|
260
|
-
title: ( localize(
|
|
260
|
+
title: ( localize(5697, "&&Restart Debugging")),
|
|
261
261
|
precondition: CONTEXT_IN_DEBUG_MODE
|
|
262
262
|
},
|
|
263
263
|
order: 4,
|
|
@@ -267,7 +267,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
267
267
|
group: '2_configuration',
|
|
268
268
|
command: {
|
|
269
269
|
id: ADD_CONFIGURATION_ID,
|
|
270
|
-
title: ( localize(
|
|
270
|
+
title: ( localize(5698, "A&&dd Configuration..."))
|
|
271
271
|
},
|
|
272
272
|
order: 2,
|
|
273
273
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -276,7 +276,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
276
276
|
group: '3_step',
|
|
277
277
|
command: {
|
|
278
278
|
id: STEP_OVER_ID,
|
|
279
|
-
title: ( localize(
|
|
279
|
+
title: ( localize(5699, "Step &&Over")),
|
|
280
280
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
281
281
|
},
|
|
282
282
|
order: 1,
|
|
@@ -286,7 +286,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
286
286
|
group: '3_step',
|
|
287
287
|
command: {
|
|
288
288
|
id: STEP_INTO_ID,
|
|
289
|
-
title: ( localize(
|
|
289
|
+
title: ( localize(5700, "Step &&Into")),
|
|
290
290
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
291
291
|
},
|
|
292
292
|
order: 2,
|
|
@@ -296,7 +296,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
296
296
|
group: '3_step',
|
|
297
297
|
command: {
|
|
298
298
|
id: STEP_OUT_ID,
|
|
299
|
-
title: ( localize(
|
|
299
|
+
title: ( localize(5701, "Step O&&ut")),
|
|
300
300
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
301
301
|
},
|
|
302
302
|
order: 3,
|
|
@@ -306,7 +306,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
306
306
|
group: '3_step',
|
|
307
307
|
command: {
|
|
308
308
|
id: CONTINUE_ID,
|
|
309
|
-
title: ( localize(
|
|
309
|
+
title: ( localize(5702, "&&Continue")),
|
|
310
310
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
311
311
|
},
|
|
312
312
|
order: 4,
|
|
@@ -316,14 +316,14 @@ MenuRegistry.appendMenuItem(MenuId.MenubarNewBreakpointMenu, {
|
|
|
316
316
|
group: '1_breakpoints',
|
|
317
317
|
command: {
|
|
318
318
|
id: TOGGLE_INLINE_BREAKPOINT_ID,
|
|
319
|
-
title: ( localize(
|
|
319
|
+
title: ( localize(5703, "Inline Breakp&&oint"))
|
|
320
320
|
},
|
|
321
321
|
order: 2,
|
|
322
322
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
323
323
|
});
|
|
324
324
|
MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
325
325
|
group: '4_new_breakpoint',
|
|
326
|
-
title: ( localize(
|
|
326
|
+
title: ( localize(5704, "&&New Breakpoint")),
|
|
327
327
|
submenu: MenuId.MenubarNewBreakpointMenu,
|
|
328
328
|
order: 2,
|
|
329
329
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -341,7 +341,7 @@ MenuRegistry.appendMenuItem(MenuId.DebugDisassemblyContext, {
|
|
|
341
341
|
group: '3_breakpoints',
|
|
342
342
|
command: {
|
|
343
343
|
id: TOGGLE_BREAKPOINT_ID,
|
|
344
|
-
title: ( localize(
|
|
344
|
+
title: ( localize(5705, "Toggle Breakpoint")),
|
|
345
345
|
},
|
|
346
346
|
order: 2,
|
|
347
347
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -350,13 +350,13 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
350
350
|
group: 'z_install',
|
|
351
351
|
command: {
|
|
352
352
|
id: 'debug.installAdditionalDebuggers',
|
|
353
|
-
title: ( localize(
|
|
353
|
+
title: ( localize(5706, "&&Install Additional Debuggers..."))
|
|
354
354
|
},
|
|
355
355
|
order: 1
|
|
356
356
|
});
|
|
357
357
|
const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
|
|
358
358
|
id: DEBUG_PANEL_ID,
|
|
359
|
-
title: ( localize2(
|
|
359
|
+
title: ( localize2(5707, "Debug Console")),
|
|
360
360
|
icon: debugConsoleViewIcon,
|
|
361
361
|
ctorDescriptor: ( new SyncDescriptor(
|
|
362
362
|
ViewPaneContainer,
|
|
@@ -368,7 +368,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).regis
|
|
|
368
368
|
}, ViewContainerLocation.Panel, { doNotRegisterOpenCommand: true });
|
|
369
369
|
( Registry.as(Extensions$2.ViewsRegistry)).registerViews([{
|
|
370
370
|
id: REPL_VIEW_ID,
|
|
371
|
-
name: ( localize2(
|
|
371
|
+
name: ( localize2(5707, "Debug Console")),
|
|
372
372
|
containerIcon: debugConsoleViewIcon,
|
|
373
373
|
canToggleVisibility: true,
|
|
374
374
|
canMoveView: true,
|
|
@@ -376,17 +376,17 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).regis
|
|
|
376
376
|
ctorDescriptor: ( new SyncDescriptor(Repl)),
|
|
377
377
|
openCommandActionDescriptor: {
|
|
378
378
|
id: 'workbench.debug.action.toggleRepl',
|
|
379
|
-
mnemonicTitle: ( localize(
|
|
379
|
+
mnemonicTitle: ( localize(5708, "De&&bug Console")),
|
|
380
380
|
keybindings: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyY },
|
|
381
381
|
order: 2
|
|
382
382
|
}
|
|
383
383
|
}], VIEW_CONTAINER);
|
|
384
384
|
const viewContainer = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
|
|
385
385
|
id: VIEWLET_ID,
|
|
386
|
-
title: ( localize2(
|
|
386
|
+
title: ( localize2(5709, "Run and Debug")),
|
|
387
387
|
openCommandActionDescriptor: {
|
|
388
388
|
id: VIEWLET_ID,
|
|
389
|
-
mnemonicTitle: ( localize(
|
|
389
|
+
mnemonicTitle: ( localize(5710, "&&Run")),
|
|
390
390
|
keybindings: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyD },
|
|
391
391
|
order: 3
|
|
392
392
|
},
|
|
@@ -396,49 +396,49 @@ const viewContainer = ( Registry.as(Extensions$2.ViewContainersRegistry)).regist
|
|
|
396
396
|
order: 3,
|
|
397
397
|
}, ViewContainerLocation.Sidebar);
|
|
398
398
|
const viewsRegistry = ( Registry.as(Extensions$2.ViewsRegistry));
|
|
399
|
-
viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name: ( localize2(
|
|
400
|
-
viewsRegistry.registerViews([{ id: WATCH_VIEW_ID, name: ( localize2(
|
|
401
|
-
viewsRegistry.registerViews([{ id: CALLSTACK_VIEW_ID, name: ( localize2(
|
|
402
|
-
viewsRegistry.registerViews([{ id: BREAKPOINTS_VIEW_ID, name: ( localize2(
|
|
399
|
+
viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name: ( localize2(5711, "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);
|
|
400
|
+
viewsRegistry.registerViews([{ id: WATCH_VIEW_ID, name: ( localize2(5712, "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);
|
|
401
|
+
viewsRegistry.registerViews([{ id: CALLSTACK_VIEW_ID, name: ( localize2(5713, "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);
|
|
402
|
+
viewsRegistry.registerViews([{ id: BREAKPOINTS_VIEW_ID, name: ( localize2(5714, "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);
|
|
403
403
|
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);
|
|
404
|
-
viewsRegistry.registerViews([{ id: LOADED_SCRIPTS_VIEW_ID, name: ( localize2(
|
|
405
|
-
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( localize(
|
|
404
|
+
viewsRegistry.registerViews([{ id: LOADED_SCRIPTS_VIEW_ID, name: ( localize2(5715, "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);
|
|
405
|
+
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( localize(5716, "Disassembly"))), [( new SyncDescriptor(DisassemblyViewInput))]);
|
|
406
406
|
const configurationRegistry = ( Registry.as(Extensions$3.Configuration));
|
|
407
407
|
configurationRegistry.registerConfiguration({
|
|
408
408
|
id: 'debug',
|
|
409
409
|
order: 20,
|
|
410
|
-
title: ( localize(
|
|
410
|
+
title: ( localize(5717, "Debug")),
|
|
411
411
|
type: 'object',
|
|
412
412
|
properties: {
|
|
413
413
|
'debug.showVariableTypes': {
|
|
414
414
|
type: 'boolean',
|
|
415
|
-
description: ( localize(
|
|
415
|
+
description: ( localize(5718, "Show variable type in variable pane during debug session")),
|
|
416
416
|
default: false
|
|
417
417
|
},
|
|
418
418
|
'debug.allowBreakpointsEverywhere': {
|
|
419
419
|
type: 'boolean',
|
|
420
|
-
description: ( localize(
|
|
420
|
+
description: ( localize(5719, "Allow setting breakpoints in any file.")),
|
|
421
421
|
default: false
|
|
422
422
|
},
|
|
423
423
|
'debug.gutterMiddleClickAction': {
|
|
424
424
|
type: 'string',
|
|
425
425
|
enum: ['logpoint', 'conditionalBreakpoint', 'triggeredBreakpoint', 'none'],
|
|
426
426
|
description: ( localize(
|
|
427
|
-
|
|
427
|
+
5720,
|
|
428
428
|
'Controls the action to perform when clicking the editor gutter with the middle mouse button.'
|
|
429
429
|
)),
|
|
430
430
|
enumDescriptions: [
|
|
431
|
-
( localize(
|
|
432
|
-
( localize(
|
|
433
|
-
( localize(
|
|
434
|
-
( localize(
|
|
431
|
+
( localize(5721, "Add Logpoint.")),
|
|
432
|
+
( localize(5722, "Add Conditional Breakpoint.")),
|
|
433
|
+
( localize(5723, "Add Triggered Breakpoint.")),
|
|
434
|
+
( localize(5724, "Don't perform any action.")),
|
|
435
435
|
],
|
|
436
436
|
default: 'logpoint',
|
|
437
437
|
},
|
|
438
438
|
'debug.openExplorerOnEnd': {
|
|
439
439
|
type: 'boolean',
|
|
440
440
|
description: ( localize(
|
|
441
|
-
|
|
441
|
+
5725,
|
|
442
442
|
"Automatically open the explorer view at the end of a debug session."
|
|
443
443
|
)),
|
|
444
444
|
default: false
|
|
@@ -446,7 +446,7 @@ configurationRegistry.registerConfiguration({
|
|
|
446
446
|
'debug.closeReadonlyTabsOnEnd': {
|
|
447
447
|
type: 'boolean',
|
|
448
448
|
description: ( localize(
|
|
449
|
-
|
|
449
|
+
5726,
|
|
450
450
|
"At the end of a debug session, all the read-only tabs associated with that session will be closed"
|
|
451
451
|
)),
|
|
452
452
|
default: false
|
|
@@ -454,12 +454,12 @@ configurationRegistry.registerConfiguration({
|
|
|
454
454
|
'debug.inlineValues': {
|
|
455
455
|
type: 'string',
|
|
456
456
|
'enum': ['on', 'off', 'auto'],
|
|
457
|
-
description: ( localize(
|
|
457
|
+
description: ( localize(5727, "Show variable values inline in editor while debugging.")),
|
|
458
458
|
'enumDescriptions': [
|
|
459
|
-
( localize(
|
|
460
|
-
( localize(
|
|
459
|
+
( localize(5728, "Always show variable values inline in editor while debugging.")),
|
|
460
|
+
( localize(5729, "Never show variable values inline in editor while debugging.")),
|
|
461
461
|
( localize(
|
|
462
|
-
|
|
462
|
+
5730,
|
|
463
463
|
"Show variable values inline in editor while debugging when the language supports inline value locations."
|
|
464
464
|
)),
|
|
465
465
|
],
|
|
@@ -468,32 +468,32 @@ configurationRegistry.registerConfiguration({
|
|
|
468
468
|
'debug.toolBarLocation': {
|
|
469
469
|
enum: ['floating', 'docked', 'commandCenter', 'hidden'],
|
|
470
470
|
markdownDescription: ( localize(
|
|
471
|
-
|
|
471
|
+
5731,
|
|
472
472
|
"Controls the location of the debug toolbar. Either `floating` in all views, `docked` in the debug view, `commandCenter` (requires {0}), or `hidden`.",
|
|
473
473
|
'`#window.commandCenter#`'
|
|
474
474
|
)),
|
|
475
475
|
default: 'floating',
|
|
476
476
|
markdownEnumDescriptions: [
|
|
477
|
-
( localize(
|
|
478
|
-
( localize(
|
|
479
|
-
( localize(
|
|
480
|
-
( localize(
|
|
477
|
+
( localize(5732, "Show debug toolbar in all views.")),
|
|
478
|
+
( localize(5733, "Show debug toolbar only in debug views.")),
|
|
479
|
+
( localize(5734, "`(Experimental)` Show debug toolbar in the command center.")),
|
|
480
|
+
( localize(5735, "Do not show debug toolbar.")),
|
|
481
481
|
]
|
|
482
482
|
},
|
|
483
483
|
'debug.showInStatusBar': {
|
|
484
484
|
enum: ['never', 'always', 'onFirstSessionStart'],
|
|
485
|
-
enumDescriptions: [( localize(
|
|
486
|
-
|
|
485
|
+
enumDescriptions: [( localize(5736, "Never show debug in Status bar")), ( localize(5737, "Always show debug in Status bar")), ( localize(
|
|
486
|
+
5738,
|
|
487
487
|
"Show debug in Status bar only after debug was started for the first time"
|
|
488
488
|
))],
|
|
489
|
-
description: ( localize(
|
|
489
|
+
description: ( localize(5739, "Controls when the debug Status bar should be visible.")),
|
|
490
490
|
default: 'onFirstSessionStart'
|
|
491
491
|
},
|
|
492
492
|
'debug.internalConsoleOptions': INTERNAL_CONSOLE_OPTIONS_SCHEMA,
|
|
493
493
|
'debug.console.closeOnEnd': {
|
|
494
494
|
type: 'boolean',
|
|
495
495
|
description: ( localize(
|
|
496
|
-
|
|
496
|
+
5740,
|
|
497
497
|
"Controls if the Debug Console should be automatically closed when the debug session ends."
|
|
498
498
|
)),
|
|
499
499
|
default: false
|
|
@@ -501,7 +501,7 @@ configurationRegistry.registerConfiguration({
|
|
|
501
501
|
'debug.terminal.clearBeforeReusing': {
|
|
502
502
|
type: 'boolean',
|
|
503
503
|
description: ( localize(
|
|
504
|
-
|
|
504
|
+
5741,
|
|
505
505
|
"Before starting a new debug session in an integrated or external terminal, clear the terminal."
|
|
506
506
|
)),
|
|
507
507
|
default: false
|
|
@@ -509,43 +509,43 @@ configurationRegistry.registerConfiguration({
|
|
|
509
509
|
'debug.openDebug': {
|
|
510
510
|
enum: ['neverOpen', 'openOnSessionStart', 'openOnFirstSessionStart', 'openOnDebugBreak'],
|
|
511
511
|
default: 'openOnDebugBreak',
|
|
512
|
-
description: ( localize(
|
|
512
|
+
description: ( localize(5742, "Controls when the debug view should open."))
|
|
513
513
|
},
|
|
514
514
|
'debug.showSubSessionsInToolBar': {
|
|
515
515
|
type: 'boolean',
|
|
516
516
|
description: ( localize(
|
|
517
|
-
|
|
517
|
+
5743,
|
|
518
518
|
"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."
|
|
519
519
|
)),
|
|
520
520
|
default: false
|
|
521
521
|
},
|
|
522
522
|
'debug.console.fontSize': {
|
|
523
523
|
type: 'number',
|
|
524
|
-
description: ( localize(
|
|
524
|
+
description: ( localize(5744, "Controls the font size in pixels in the Debug Console.")),
|
|
525
525
|
default: isMacintosh ? 12 : 14,
|
|
526
526
|
},
|
|
527
527
|
'debug.console.fontFamily': {
|
|
528
528
|
type: 'string',
|
|
529
|
-
description: ( localize(
|
|
529
|
+
description: ( localize(5745, "Controls the font family in the Debug Console.")),
|
|
530
530
|
default: 'default'
|
|
531
531
|
},
|
|
532
532
|
'debug.console.lineHeight': {
|
|
533
533
|
type: 'number',
|
|
534
534
|
description: ( localize(
|
|
535
|
-
|
|
535
|
+
5746,
|
|
536
536
|
"Controls the line height in pixels in the Debug Console. Use 0 to compute the line height from the font size."
|
|
537
537
|
)),
|
|
538
538
|
default: 0
|
|
539
539
|
},
|
|
540
540
|
'debug.console.wordWrap': {
|
|
541
541
|
type: 'boolean',
|
|
542
|
-
description: ( localize(
|
|
542
|
+
description: ( localize(5747, "Controls if the lines should wrap in the Debug Console.")),
|
|
543
543
|
default: true
|
|
544
544
|
},
|
|
545
545
|
'debug.console.historySuggestions': {
|
|
546
546
|
type: 'boolean',
|
|
547
547
|
description: ( localize(
|
|
548
|
-
|
|
548
|
+
5748,
|
|
549
549
|
"Controls if the Debug Console should suggest previously typed input."
|
|
550
550
|
)),
|
|
551
551
|
default: true
|
|
@@ -553,7 +553,7 @@ configurationRegistry.registerConfiguration({
|
|
|
553
553
|
'debug.console.collapseIdenticalLines': {
|
|
554
554
|
type: 'boolean',
|
|
555
555
|
description: ( localize(
|
|
556
|
-
|
|
556
|
+
5749,
|
|
557
557
|
"Controls if the Debug Console should collapse identical lines and show a number of occurrences with a badge."
|
|
558
558
|
)),
|
|
559
559
|
default: true
|
|
@@ -561,15 +561,20 @@ configurationRegistry.registerConfiguration({
|
|
|
561
561
|
'debug.console.acceptSuggestionOnEnter': {
|
|
562
562
|
enum: ['off', 'on'],
|
|
563
563
|
description: ( localize(
|
|
564
|
-
|
|
564
|
+
5750,
|
|
565
565
|
"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."
|
|
566
566
|
)),
|
|
567
567
|
default: 'off'
|
|
568
568
|
},
|
|
569
|
+
'debug.console.maximumLines': {
|
|
570
|
+
type: 'number',
|
|
571
|
+
description: ( localize(5751, "Controls the maximum number of lines in the Debug Console.")),
|
|
572
|
+
default: 10000
|
|
573
|
+
},
|
|
569
574
|
'launch': {
|
|
570
575
|
type: 'object',
|
|
571
576
|
description: ( localize(
|
|
572
|
-
|
|
577
|
+
5752,
|
|
573
578
|
"Global debug launch configuration. Should be used as an alternative to 'launch.json' that is shared across workspaces."
|
|
574
579
|
)),
|
|
575
580
|
default: { configurations: [], compounds: [] },
|
|
@@ -579,7 +584,7 @@ configurationRegistry.registerConfiguration({
|
|
|
579
584
|
'debug.focusWindowOnBreak': {
|
|
580
585
|
type: 'boolean',
|
|
581
586
|
description: ( localize(
|
|
582
|
-
|
|
587
|
+
5753,
|
|
583
588
|
"Controls whether the workbench window should be focused when the debugger breaks."
|
|
584
589
|
)),
|
|
585
590
|
default: true
|
|
@@ -587,16 +592,16 @@ configurationRegistry.registerConfiguration({
|
|
|
587
592
|
'debug.focusEditorOnBreak': {
|
|
588
593
|
type: 'boolean',
|
|
589
594
|
description: ( localize(
|
|
590
|
-
|
|
595
|
+
5754,
|
|
591
596
|
"Controls whether the editor should be focused when the debugger breaks."
|
|
592
597
|
)),
|
|
593
598
|
default: true
|
|
594
599
|
},
|
|
595
600
|
'debug.onTaskErrors': {
|
|
596
601
|
enum: ['debugAnyway', 'showErrors', 'prompt', 'abort'],
|
|
597
|
-
enumDescriptions: [( localize(
|
|
602
|
+
enumDescriptions: [( localize(5755, "Ignore task errors and start debugging.")), ( localize(5756, "Show the Problems view and do not start debugging.")), ( localize(5757, "Prompt user.")), ( localize(5758, "Cancel debugging."))],
|
|
598
603
|
description: ( localize(
|
|
599
|
-
|
|
604
|
+
5759,
|
|
600
605
|
"Controls what to do when errors are encountered after running a preLaunchTask."
|
|
601
606
|
)),
|
|
602
607
|
default: 'prompt'
|
|
@@ -604,7 +609,7 @@ configurationRegistry.registerConfiguration({
|
|
|
604
609
|
'debug.showBreakpointsInOverviewRuler': {
|
|
605
610
|
type: 'boolean',
|
|
606
611
|
description: ( localize(
|
|
607
|
-
|
|
612
|
+
5760,
|
|
608
613
|
"Controls whether breakpoints should be shown in the overview ruler."
|
|
609
614
|
)),
|
|
610
615
|
default: false
|
|
@@ -612,45 +617,45 @@ configurationRegistry.registerConfiguration({
|
|
|
612
617
|
'debug.showInlineBreakpointCandidates': {
|
|
613
618
|
type: 'boolean',
|
|
614
619
|
description: ( localize(
|
|
615
|
-
|
|
620
|
+
5761,
|
|
616
621
|
"Controls whether inline breakpoints candidate decorations should be shown in the editor while debugging."
|
|
617
622
|
)),
|
|
618
623
|
default: true
|
|
619
624
|
},
|
|
620
625
|
'debug.saveBeforeStart': {
|
|
621
|
-
description: ( localize(
|
|
626
|
+
description: ( localize(5762, "Controls what editors to save before starting a debug session.")),
|
|
622
627
|
enum: ['allEditorsInActiveGroup', 'nonUntitledEditorsInActiveGroup', 'none'],
|
|
623
628
|
enumDescriptions: [
|
|
624
629
|
( localize(
|
|
625
|
-
|
|
630
|
+
5763,
|
|
626
631
|
"Save all editors in the active group before starting a debug session."
|
|
627
632
|
)),
|
|
628
633
|
( localize(
|
|
629
|
-
|
|
634
|
+
5764,
|
|
630
635
|
"Save all editors in the active group except untitled ones before starting a debug session."
|
|
631
636
|
)),
|
|
632
|
-
( localize(
|
|
637
|
+
( localize(5765, "Don't save any editors before starting a debug session.")),
|
|
633
638
|
],
|
|
634
639
|
default: 'allEditorsInActiveGroup',
|
|
635
640
|
scope: ConfigurationScope.LANGUAGE_OVERRIDABLE
|
|
636
641
|
},
|
|
637
642
|
'debug.confirmOnExit': {
|
|
638
643
|
description: ( localize(
|
|
639
|
-
|
|
644
|
+
5766,
|
|
640
645
|
"Controls whether to confirm when the window closes if there are active debug sessions."
|
|
641
646
|
)),
|
|
642
647
|
type: 'string',
|
|
643
648
|
enum: ['never', 'always'],
|
|
644
649
|
enumDescriptions: [
|
|
645
|
-
( localize(
|
|
646
|
-
( localize(
|
|
650
|
+
( localize(5767, "Never confirm.")),
|
|
651
|
+
( localize(5768, "Always confirm if there are debug sessions.")),
|
|
647
652
|
],
|
|
648
653
|
default: 'never'
|
|
649
654
|
},
|
|
650
655
|
'debug.disassemblyView.showSourceCode': {
|
|
651
656
|
type: 'boolean',
|
|
652
657
|
default: true,
|
|
653
|
-
description: ( localize(
|
|
658
|
+
description: ( localize(5769, "Show Source Code in Disassembly View."))
|
|
654
659
|
},
|
|
655
660
|
'debug.autoExpandLazyVariables': {
|
|
656
661
|
type: 'string',
|
|
@@ -658,26 +663,26 @@ configurationRegistry.registerConfiguration({
|
|
|
658
663
|
default: 'auto',
|
|
659
664
|
enumDescriptions: [
|
|
660
665
|
( localize(
|
|
661
|
-
|
|
666
|
+
5770,
|
|
662
667
|
"When in screen reader optimized mode, automatically expand lazy variables."
|
|
663
668
|
)),
|
|
664
|
-
( localize(
|
|
665
|
-
( localize(
|
|
669
|
+
( localize(5771, "Always automatically expand lazy variables.")),
|
|
670
|
+
( localize(5772, "Never automatically expand lazy variables."))
|
|
666
671
|
],
|
|
667
672
|
description: ( localize(
|
|
668
|
-
|
|
673
|
+
5773,
|
|
669
674
|
"Controls whether variables that are lazily resolved, such as getters, are automatically resolved and expanded by the debugger."
|
|
670
675
|
))
|
|
671
676
|
},
|
|
672
677
|
'debug.enableStatusBarColor': {
|
|
673
678
|
type: 'boolean',
|
|
674
|
-
description: ( localize(
|
|
679
|
+
description: ( localize(5774, "Color of the Status bar when debugger is active.")),
|
|
675
680
|
default: true
|
|
676
681
|
},
|
|
677
682
|
'debug.hideLauncherWhileDebugging': {
|
|
678
683
|
type: 'boolean',
|
|
679
684
|
markdownDescription: ( localize(
|
|
680
|
-
|
|
685
|
+
5775,
|
|
681
686
|
"Hide 'Start Debugging' control in title bar of 'Run and Debug' view while debugging is active. Only relevant when {0} is not `docked`.",
|
|
682
687
|
'`#debug.toolBarLocation#`'
|
|
683
688
|
)),
|
|
@@ -686,7 +691,7 @@ configurationRegistry.registerConfiguration({
|
|
|
686
691
|
'debug.hideSlowPreLaunchWarning': {
|
|
687
692
|
type: 'boolean',
|
|
688
693
|
markdownDescription: ( localize(
|
|
689
|
-
|
|
694
|
+
5776,
|
|
690
695
|
"Hide the warning shown when a `preLaunchTask` has been running for a while."
|
|
691
696
|
)),
|
|
692
697
|
default: false
|